// // cocos2d::CCParticleSystemQuad::setBatchNode from 0x18006ccb0 to 0x18006cddf (303 bytes) // // 16 xrefs: // > @ 0x180100fb0 // > @ 0x180101630 // > @ 0x180101cb0 // > @ 0x180102330 // > @ 0x1801029b0 // > @ 0x180103030 // > @ 0x1801036b0 // > @ 0x180103d30 // > @ 0x1801043b0 // > @ 0x180104a30 // > @ 0x1801050b0 // > @ 0x180106408 // > @ 0x1801434f8 // > @ 0x180143508 // > @ 0x18014cf68 // > @ 0x1801be050 // // 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:55 +0000 // void __fastcall cocos2d::CCParticleSystemQuad::setBatchNode( cocos2d::CCParticleSystemQuad *this, struct cocos2d::CCParticleBatchNode *a2) { struct cocos2d::CCParticleBatchNode *v2; // rbp __int64 v5; // rbx __int64 v6; // rax __int64 v7; // rax void *v8; // rcx void *v9; // rcx v2 = *((struct cocos2d::CCParticleBatchNode **)this + 55); if ( v2 != a2 ) { cocos2d::CCParticleSystem::setBatchNode(this, a2); if ( a2 ) { if ( !v2 ) { v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 55) + 328LL) + 104LL))(*(_QWORD *)(*((_QWORD *)this + 55) + 328LL)); memcpy( (void *)(v7 + 96LL * *((unsigned int *)this + 112)), *((const void **)this + 99), 96LL * *((unsigned int *)this + 167)); v8 = *((void **)this + 99); if ( v8 ) { free(v8); *((_QWORD *)this + 99) = 0; } v9 = *((void **)this + 100); if ( v9 ) { free(v9); *((_QWORD *)this + 100) = 0; } _glewDeleteBuffers(2, (char *)this + 808); *((_QWORD *)this + 101) = 0; } } else { cocos2d::CCParticleSystemQuad::allocMemory(this); cocos2d::CCParticleSystemQuad::initIndices(this); v5 = *((_QWORD *)this + 40); v6 = (*(__int64 (__fastcall **)(_QWORD *))(*((_QWORD *)v2 + 40) + 16LL))((_QWORD *)v2 + 40); (*(void (__fastcall **)(char *, __int64))(v5 + 24))((char *)this + 320, v6); cocos2d::CCParticleSystemQuad::setupVBO(this); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source