// // GJBaseGameLayer::unclaimParticle from 0x59ca4c to 0x59cb44 (248 bytes) // // 1 xrefs: // > GameObject::unclaimParticle @ 0x44bbde // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:13 +0000 // int __fastcall GJBaseGameLayer::unclaimParticle(int this, const char *a2, cocos2d::CCParticleSystemQuad *a3) { int v4; // r8 int v6; // r6 size_t v7; // r0 cocos2d::CCArray *v8; // r10 int v9; // r11 size_t v10; // r0 cocos2d::CCArray *v11; // r9 int v12[3]; // [sp+4h] [bp-20h] BYREF int v13[3]; // [sp+10h] [bp-14h] BYREF v4 = this; if ( a3 ) { v6 = *(_DWORD *)(this + 10644); memset(v13, 0, sizeof(v13)); v7 = strlen(a2); std::string::__init(v13, a2, v7); v8 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v6, v13); this = std::string::~string((int)v13); if ( v8 ) { v9 = *(_DWORD *)(v4 + 10644); memset(v12, 0, sizeof(v12)); v10 = strlen(a2); std::string::__init(v12, a2, v10); GJBaseGameLayer::getParticleKey2(v13, v4, (int)v12); v11 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v9, v13); std::string::~string((int)v13); std::string::~string((int)v12); cocos2d::CCArray::addObject(v8, a3); cocos2d::CCArray::removeObject(v11, a3, 1); cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(v4 + 10680), a3, 1); (*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a3 + 172))(a3, 0); return (*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a3 + 264))(a3, 0); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source