// // GJSmartTemplate::removePrefab from 0x539c60 to 0x539ca6 (70 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::deletedSelectedItems @ 0x53fc6c // // 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 // unsigned int __fastcall GJSmartTemplate::removePrefab(unsigned int result, const std::string *a2, int a3) { cocos2d::CCArray *v4; // r5 unsigned int i; // r4 if ( a3 > 0 ) { result = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(result + 52), a2); v4 = (cocos2d::CCArray *)result; if ( result ) { result = cocos2d::CCArray::count((cocos2d::CCArray *)result); if ( result ) { for ( i = 0; ; ++i ) { result = cocos2d::CCArray::count(v4); if ( i >= result ) break; if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v4, i) + 60) == a3 ) return cocos2d::CCArray::removeObjectAtIndex(v4, i, 1); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source