// // BrowseSmartTemplateLayer::createPrefab from 0x1004e5170 to 0x1004e51fc (140 bytes) // // 2 xrefs: // > BrowseSmartTemplateLayer::onTemplateObject @ 0x1004e4ce0 // > BrowseSmartKeyLayer::createTemplateObjects @ 0x1004e63ea // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:19 +0000 // void __fastcall BrowseSmartTemplateLayer::createPrefab(__int64 a1, std::string *a2, int a3) { __int64 v4; // r14 __int64 v5; // r15 std::string v6[2]; // [rsp+0h] [rbp-40h] BYREF v4 = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 552) + 14248LL); v5 = *(_QWORD *)(a1 + 664); if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 ) sub_10001AD30(v6, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_); else v6[0] = *a2; EditorUI::createPrefab(v4, v5, v6, a3); if ( (*(_BYTE *)&v6[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(v6[0].__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source