// // GJSmartTemplate::getPrefabWithID from 0x9d1114 to 0x9d1190 (124 bytes) // // 4 xrefs: // > EditorUI::createPrefab @ 0x6c0810 // > BrowseSmartKeyLayer::updateChanceValues @ 0x9e1bec // > BrowseSmartKeyLayer::addChanceToSelected @ 0x9e1fd4 // > @ 0xa9ab8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall GJSmartTemplate::getPrefabWithID(__int64 a1, const std::string *a2, int a3) { cocos2d::CCArray *v4; // x0 cocos2d::CCArray *v5; // x20 unsigned int v6; // w19 __int64 result; // x0 if ( a3 > 0 ) { v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 56), a2); v5 = v4; if ( v4 ) { if ( (unsigned int)cocos2d::CCArray::count(v4) ) { v6 = 0; while ( v6 < (unsigned int)cocos2d::CCArray::count(v5) ) { result = cocos2d::CCArray::objectAtIndex(v5, v6++); if ( *(_DWORD *)(result + 72) == a3 ) return result; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source