// // cocos2d::CCParticleBatchNode::insertChild from 0x1003b2350 to 0x1003b24d3 (387 bytes) // // 1 xrefs: // > cocos2d::CCParticleBatchNode::addChild @ 0x1003b21eb // // 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 12:29:27 +0000 // __int64 __fastcall cocos2d::CCParticleBatchNode::insertChild(__int64 a1, _DWORD *a2, unsigned int a3) { int v4; // r12d unsigned int v5; // r13d int v6; // r12d int v7; // eax __int64 v8; // r12 int v9; // r13d unsigned int v10; // r13d unsigned int v11; // eax int v12; // r13d int v13; // r12d __int64 v14; // r12 int v15; // eax __int64 v16; // r15 __int64 v17; // rsi __int64 result; // rax _DWORD **v19; // rbx unsigned __int64 v20; // r14 int v21; // r15d _DWORD *v22; // rdi a2[110] = a3; v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 80LL))(*(_QWORD *)(a1 + 328)); v5 = v4 + (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); if ( v5 > (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)) ) { v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 80LL))(*(_QWORD *)(a1 + 328)); v7 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); cocos2d::CCTextureAtlas::resizeCapacity(*(_QWORD *)(a1 + 328), (unsigned int)(v7 + v6)); v8 = *(_QWORD *)(a1 + 328); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 88LL))(v8); v10 = v9 - (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); v11 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex(v8, v10, v11); } v12 = a2[110]; v13 = v12 + (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); if ( v13 != (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 80LL))(*(_QWORD *)(a1 + 328)) ) { v14 = *(_QWORD *)(a1 + 328); v15 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); cocos2d::CCTextureAtlas::moveQuadsFromIndex_1(v14, a3, v15 + a3); } v16 = *(_QWORD *)(a1 + 328); v17 = (*(unsigned int (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1496LL))(a2); cocos2d::CCTextureAtlas::increaseTotalQuadsWith(v16, v17); result = *(_QWORD *)(a1 + 208); if ( result ) { result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v19 = *(_DWORD ***)(result + 16); v20 = (unsigned __int64)&v19[*(unsigned int *)result - 1]; v21 = 0; do { v22 = *v19; if ( !*v19 ) break; v22[110] = v21; result = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v22 + 1496LL))(v22); v21 += result; ++v19; } while ( (unsigned __int64)v19 <= v20 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source