// // GJSmartTemplate::getPrefabWithID from 0xb0c1c0 to 0xb0c23c (124 bytes) // // 4 xrefs: // > EditorUI::createPrefab @ 0x7c9db4 // > BrowseSmartKeyLayer::updateChanceValues @ 0xb164b8 // > BrowseSmartKeyLayer::addChanceToSelected @ 0xb167f4 // > @ 0xda608 // // This function is hookable on this platform (idp: arm, 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 13:01:26 +0000 // __int64 __fastcall GJSmartTemplate::getPrefabWithID(__int64 a1, __int64 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(*(_QWORD *)(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 + 104) == a3 ) return result; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source