// // GJBaseGameLayer::unclaimParticle from 0x477fec to 0x4780c8 (220 bytes) // // 1 xrefs: // > GameObject::unclaimParticle @ 0x35314a // // 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::unclaimParticle(GJBaseGameLayer *a1, const char *a2, cocos2d::CCParticleSystemQuad *a3) { cocos2d::CCDictionary *m_particlesDict; // r9 cocos2d::CCArray *v7; // r9 cocos2d::CCDictionary *v8; // r11 cocos2d::CCArray *v9; // r10 const char *v10; // [sp+4h] [bp-10h] BYREF std::string v11; // [sp+8h] [bp-Ch] BYREF if ( a3 ) { m_particlesDict = a1->m_particlesDict; sub_776584((int)&v11, (char *)a2); v7 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(m_particlesDict, &v11); sub_774008(&v11); if ( v7 ) { v8 = a1->m_particlesDict; sub_776584((int)&v10, (char *)a2); GJBaseGameLayer::getParticleKey2((int)&v11, (int)a1, &v10); v9 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v8, &v11); sub_774008(&v11); sub_774008(&v10); cocos2d::CCArray::addObject(v7, a3); cocos2d::CCArray::removeObject(v9, a3, 1); cocos2d::CCArray::removeObject(a1->m_temporaryParticles, a3, 1); a3->setVisible(a3, 0); a3->removeFromParentAndCleanup(a3, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source