// // cocos2d::CCParticleBatchNode::addChild from 0x1800634d0 to 0x180063620 (336 bytes) // // 5 xrefs: // > @ 0x180100768 // > @ 0x180142c80 // > @ 0x180142cb4 // > @ 0x18014cf68 // > @ 0x1801bd918 // // This function is hookable on this platform (idp: pc, 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 11:21:51 +0000 // void __fastcall cocos2d::CCParticleBatchNode::addChild( cocos2d::CCParticleBatchNode *this, struct cocos2d::CCNode *a2, int a3, int a4) { unsigned int v8; // ebp char *v9; // r14 __int64 v10; // rax __int64 v11; // rax void (__fastcall **v12)(char *, _QWORD); // rbx _QWORD *v13; // rax unsigned int v14; // eax struct cocos2d::CCString *v15; // rax int v16; // ebp char v17; // [rsp+70h] [rbp+8h] BYREF char v18; // [rsp+78h] [rbp+10h] BYREF v8 = 0; _RTDynamicCast(a2, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCParticleSystem `RTTI Type Descriptor', 0); v9 = (char *)a2 + 320; v10 = (*(__int64 (__fastcall **)(char *))(*((_QWORD *)a2 + 40) + 16LL))((char *)a2 + 320); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10); v11 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 88LL))(*((_QWORD *)this + 41)); (*(void (__fastcall **)(__int64))(*(_QWORD *)v11 + 96LL))(v11); if ( !(unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 26)) ) { v12 = *((void (__fastcall ***)(char *, _QWORD))this + 40); v13 = (_QWORD *)(*(__int64 (__fastcall **)(char *, char *))(*(_QWORD *)v9 + 8LL))((char *)a2 + 320, &v17); (*v12)((char *)this + 320, *v13); } if ( *((_DWORD *)this + 84) == *(_DWORD *)(*(__int64 (__fastcall **)(char *, char *))(*(_QWORD *)v9 + 8LL))( (char *)a2 + 320, &v17) ) (*(void (__fastcall **)(char *, char *))(*(_QWORD *)v9 + 8LL))((char *)a2 + 320, &v18); v14 = cocos2d::CCParticleBatchNode::addChildHelper(this, a2, a3, a4); if ( v14 ) { v15 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 26), v14 - 1); v16 = *((_DWORD *)v15 + 112); v8 = (*(__int64 (__fastcall **)(struct cocos2d::CCString *))(*(_QWORD *)v15 + 1488LL))(v15) + v16; } cocos2d::CCParticleBatchNode::insertChild(this, a2, v8); (*(void (__fastcall **)(struct cocos2d::CCNode *, cocos2d::CCParticleBatchNode *))(*(_QWORD *)a2 + 896LL))(a2, this); }