// // cocos2d::CCParticleSystemQuad::setBatchNode from 0x1002f11a0 to 0x1002f12a8 (264 bytes) // // 1 xrefs: // > @ 0x100928008 // // 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 11:02:56 +0000 // void __fastcall cocos2d::CCParticleSystemQuad::setBatchNode(__int64 a1, __int64 a2, int64x2_t a3) { __int64 v3; // x20 int64x2_t v6; // q0 __int64 v7; // x0 void *v8; // x0 void *v9; // x0 __int64 v10; // x0 v3 = *(_QWORD *)(a1 + 432); if ( v3 != a2 ) { v6 = cocos2d::CCParticleSystem::setBatchNode(a1, a2, a3); if ( a2 ) { if ( !v3 ) { v7 = (*(__int64 (__fastcall **)(_QWORD, __n128))(**(_QWORD **)(*(_QWORD *)(a1 + 432) + 328LL) + 112LL))( *(_QWORD *)(*(_QWORD *)(a1 + 432) + 328LL), (__n128)v6); memcpy( (void *)(v7 + 96LL * *(unsigned int *)(a1 + 440)), *(const void **)(a1 + 784), 96LL * *(unsigned int *)(a1 + 660)); v8 = *(void **)(a1 + 784); if ( v8 ) { free(v8); *(_QWORD *)(a1 + 784) = 0; } v9 = *(void **)(a1 + 792); if ( v9 ) { free(v9); *(_QWORD *)(a1 + 792) = 0; } glDeleteBuffers(2, (const GLuint *)(a1 + 804)); *(_QWORD *)(a1 + 804) = 0; glDeleteVertexArraysOES(1, a1 + 800); cocos2d::ccGLBindVAO(0); *(_DWORD *)(a1 + 800) = 0; } } else { cocos2d::CCParticleSystemQuad::allocMemory(a1); cocos2d::CCParticleSystemQuad::initIndices(a1); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 896LL))(v3); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1520LL))(a1, v10); cocos2d::CCParticleSystemQuad::setupVBOandVAO(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source