// // cocos2d::CCParticleBatchNode::insertChild from 0x7e5d2c to 0x7e5e04 (216 bytes) // // 1 xrefs: // > cocos2d::CCParticleBatchNode::addChild @ 0x7e5eaa // // 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 12:00:53 +0000 // int __fastcall cocos2d::CCParticleBatchNode::insertChild( cocos2d::CCParticleBatchNode *this, cocos2d::CCParticleSystem *a2, unsigned int a3) { int v6; // r7 unsigned int v7; // r7 int v8; // r7 int v9; // r0 cocos2d::CCTextureAtlas *v10; // r8 int v11; // r7 unsigned int v12; // r7 unsigned int v13; // r0 int v14; // r7 int v15; // r7 cocos2d::CCTextureAtlas *v16; // r7 int v17; // r0 cocos2d::CCTextureAtlas *v18; // r6 unsigned int v19; // r0 *((_DWORD *)a2 + 90) = a3; v6 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67)); v7 = v6 + (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); if ( v7 > (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 44))(*((_DWORD *)this + 67)) ) { v8 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67)); v9 = (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); cocos2d::CCParticleBatchNode::increaseAtlasCapacityTo((cocos2d::CCTextureAtlas **)this, v9 + v8); v10 = *((cocos2d::CCTextureAtlas **)this + 67); v11 = (*(int (__fastcall **)(cocos2d::CCTextureAtlas *))(*(_DWORD *)v10 + 44))(v10); v12 = v11 - (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); v13 = (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(v10, v12, v13); } v14 = *((_DWORD *)a2 + 90); v15 = v14 + (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); if ( v15 != (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67)) ) { v16 = *((cocos2d::CCTextureAtlas **)this + 67); v17 = (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); cocos2d::CCTextureAtlas::moveQuadsFromIndex(v16, a3, v17 + a3); } v18 = *((cocos2d::CCTextureAtlas **)this + 67); v19 = (*(int (__fastcall **)(cocos2d::CCParticleSystem *))(*(_DWORD *)a2 + 748))(a2); cocos2d::CCTextureAtlas::increaseTotalQuadsWith(v18, v19); return cocos2d::CCParticleBatchNode::updateAllAtlasIndexes((int)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source