// // cocos2d::CCParticleBatchNode::addChild from 0xd72e48 to 0xd72fa0 (344 bytes) // // 2 xrefs: // > @ 0x75478 // > @ 0x152ce68 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:01 +0000 // __int64 __fastcall cocos2d::CCParticleBatchNode::addChild( cocos2d::CCParticleBatchNode *this, cocos2d::CCNode *a2, __int64 a3, __int64 a4) { __int64 v6; // x0 __int64 v7; // x0 int v8; // w0 __int64 v9; // x3 __int64 v10; // x2 int v11; // w21 int v12; // w0 unsigned int v13; // w2 unsigned int v14; // w3 int v15; // w1 unsigned int v16; // w2 _DWORD *v17; // x0 int v18; // w21 void (__fastcall *v20)(cocos2d::CCParticleBatchNode *, __int64); // x21 __int64 v21; // x0 int v23[2]; // [xsp+30h] [xbp+30h] int v24[2]; // [xsp+30h] [xbp+30h] int v26[2]; // [xsp+38h] [xbp+38h] int v27[2]; // [xsp+38h] [xbp+38h] v6 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 1512LL))(a2); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6); v7 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 96LL))(*((_QWORD *)this + 41)); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 104LL))(v7); v8 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 26)); v9 = a4; v10 = a3; if ( !v8 ) { *(_QWORD *)v24 = a4; *(_QWORD *)v27 = v10; v20 = *(void (__fastcall **)(cocos2d::CCParticleBatchNode *, __int64))(*(_QWORD *)this + 912LL); v21 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 1528LL))(a2); v20(this, v21); v9 = *(_QWORD *)v24; v10 = *(_QWORD *)v27; } *(_QWORD *)v23 = v9; *(_QWORD *)v26 = v10; v11 = *((_DWORD *)this + 84); v12 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 1528LL))(a2); v13 = v26[0]; v14 = v23[0]; if ( v11 == v12 ) { (*(void (__fastcall **)(cocos2d::CCNode *, _QWORD, int *, int *))(*(_QWORD *)a2 + 1528LL))( a2, *(_QWORD *)(*(_QWORD *)a2 + 1528LL), *(int **)v26, *(int **)v23); v14 = v23[0]; v13 = v26[0]; } v15 = cocos2d::CCParticleBatchNode::addChildHelper(this, a2, v13, v14); v16 = 0; if ( v15 ) { v17 = (_DWORD *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 26), v15 - 1); v18 = v17[110]; v16 = v18 + (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v17 + 1496LL))(v17); } cocos2d::CCParticleBatchNode::insertChild(this, a2, v16); return (*(__int64 (__fastcall **)(cocos2d::CCNode *, cocos2d::CCParticleBatchNode *))(*(_QWORD *)a2 + 904LL))( a2, this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source