// // cocos2d::CCParticleSystemQuad::draw from 0x1006daec0 to 0x1006daf8e (206 bytes) // // 12 xrefs: // > @ 0x100b478e8 // > @ 0x100b47fb8 // > @ 0x100b48688 // > @ 0x100b48d58 // > @ 0x100b49428 // > @ 0x100b49af8 // > @ 0x100b4a1c8 // > @ 0x100b4a898 // > @ 0x100b4af68 // > @ 0x100b4b638 // > @ 0x100b4bd08 // > @ 0x100b91c10 // // 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:35:42 +0000 // int *__fastcall cocos2d::CCParticleSystemQuad::draw(__int64 a1, __m128 a2) { __int64 v3; // rax __int64 v4; // rax GLuint v5; // eax int *result; // rax if ( *(_QWORD *)(a1 + 664) && *(_DWORD *)(a1 + 456) ) { if ( *(_BYTE *)(a1 + 834) ) { cocos2d::ccGLEnable(); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 656LL))(a1); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 656LL))(a1); cocos2d::CCGLProgram::use(v3); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 656LL))(a1); cocos2d::CCGLProgram::setUniformsForBuiltins(v4, a2); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 104LL))(*(_QWORD *)(a1 + 664)); cocos2d::ccGLBindTexture2D(v5); cocos2d::ccGLBlendFunc(*(_DWORD *)(a1 + 672), *(_DWORD *)(a1 + 676)); cocos2d::ccGLBindVAO(*(_DWORD *)(a1 + 800)); glDrawElements(4u, 6 * *(_DWORD *)(a1 + 428), 0x1403u, nullptr); ++dword_100BE8BE8; return &dword_100BE8BE8; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source