| 25 | }; |
| 26 | |
| 27 | void* load(const char* path) |
| 28 | { |
| 29 | auto data = asset_load(path, nullptr); |
| 30 | uint64_t uuid = ((uint64_t*)data)[0]; |
| 31 | // debugf("Loaded NodeGraph: %s (UUID: %016llX)\n", path, uuid); |
| 32 | ((GraphFunc*)data)[0] = P64::Script::getGraphFuncByUUID(uuid); |
| 33 | return data; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | void P64::NodeGraph::Instance::load(uint16_t assetIdx) |