// // GJBaseGameLayer::unclaimCustomParticle from 0x855794 to 0x855844 (176 bytes) // // 3 xrefs: // > @ 0xa8138 // > @ 0x1148ad8 // > @ 0x11907c8 // // 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 GJBaseGameLayer::unclaimCustomParticle(__int64 result, const std::string *a2, __int64 *a3) { __int64 v3; // x20 cocos2d::CCArray *v6; // x22 cocos2d::CCArray *v7; // x21 __int64 v8; // x2 if ( a3 ) { v3 = result; result = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(result + 12600), a2); v6 = (cocos2d::CCArray *)result; if ( result ) { v7 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v3 + 12672), a2); if ( (*(unsigned int (__fastcall **)(__int64 *))(*a3 + 896))(a3) ) cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(v3 + 12608), (cocos2d::CCObject *)a3); else cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)a3); cocos2d::CCArray::removeObject(v7, (cocos2d::CCObject *)a3, 1); cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)a3); v8 = *a3; *((_BYTE *)a3 + 673) = 1; return (*(__int64 (__fastcall **)(__int64 *))(v8 + 1568))(a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source