// // GJBaseGameLayer::removeTemporaryParticles from 0x48cd14 to 0x48cd90 (124 bytes) // // 1 xrefs: // > GJBaseGameLayer::resetLevelVariables @ 0x491bb4 // // 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 // void GJBaseGameLayer::removeTemporaryParticles(GJBaseGameLayer *a1) { cocos2d::CCArray **p_m_temporaryParticles; // r8 int *p_m_customParticlesUIDs; // r4 unsigned int v3; // r7 _DWORD *v4; // r5 GJBaseGameLayer *v5; // [sp+0h] [bp-Ch] BYREF v5 = a1; p_m_temporaryParticles = &a1->m_temporaryParticles; p_m_customParticlesUIDs = (int *)&a1->m_customParticlesUIDs; v3 = 0; while ( v3 < cocos2d::CCArray::count(*p_m_temporaryParticles) ) { v4 = (_DWORD *)cocos2d::CCArray::objectAtIndex(*p_m_temporaryParticles, v3); if ( (*(int (__fastcall **)(_DWORD *))(*v4 + 780))(v4) ) { (*(void (__fastcall **)(_DWORD *))(*v4 + 260))(v4); v5 = (GJBaseGameLayer *)v4[1]; sub_48CCE8(p_m_customParticlesUIDs, &v5); cocos2d::CCArray::fastRemoveObjectAtIndex(*p_m_temporaryParticles, v3); } else { ++v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source