// // GJBaseGameLayer::unclaimCustomParticle from 0x46c1d6 to 0x46c242 (108 bytes) // // 0 xrefs: // // 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 // int __fastcall GJBaseGameLayer::unclaimCustomParticle(int result, const std::string *a2, int *a3) { int v3; // r5 cocos2d::CCArray *v6; // r6 cocos2d::CCArray *v7; // r7 cocos2d::CCArray *v8; // r0 int v9; // r3 v3 = result; if ( a3 ) { result = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(result + 10796), a2); v6 = (cocos2d::CCArray *)result; if ( result ) { v7 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v3 + 10832), a2); if ( (*(int (__fastcall **)(int *))(*a3 + 448))(a3) ) v8 = *(cocos2d::CCArray **)(v3 + 10800); else v8 = v6; cocos2d::CCArray::addObject(v8, (cocos2d::CCObject *)a3); cocos2d::CCArray::removeObject(v7, (cocos2d::CCObject *)a3, 1); cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)a3); v9 = *a3; *((_BYTE *)a3 + 593) = 1; return (*(int (__fastcall **)(int *))(v9 + 784))(a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source