// // GJSmartTemplate::removePrefab from 0xb0c23c to 0xb0c2d0 (148 bytes) // // 2 xrefs: // > BrowseSmartKeyLayer::deletedSelectedItems @ 0xb16674 // > @ 0x69bc8 // // 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 // cocos2d::CCArray *__fastcall GJSmartTemplate::removePrefab(cocos2d::CCArray *result, __int64 a2, int a3) { cocos2d::CCArray *v4; // x20 unsigned int i; // w19 bool v6; // cf if ( a3 > 0 ) { result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*((_QWORD *)result + 7), a2); v4 = result; if ( result ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(result); if ( (_DWORD)result ) { for ( i = 0; ; ++i ) { v6 = i >= (unsigned int)cocos2d::CCArray::count(v4); result = v4; if ( v6 ) break; if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v4, i) + 104) == a3 ) return (cocos2d::CCArray *)cocos2d::CCArray::removeObjectAtIndex(v4, i, 1); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source