// // cocos2d::CCDrawNode::draw from 0x1006edb60 to 0x1006edc36 (214 bytes) // // 2 xrefs: // > @ 0x100ab9c08 // > @ 0x100b953f0 // // 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:50 +0000 // int *__fastcall cocos2d::CCDrawNode::draw(__int64 a1, __m128 a2) { __int64 v3; // rax __int64 v4; // rax 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); cocos2d::ccGLBlendFunc(*(_DWORD *)(a1 + 368), *(_DWORD *)(a1 + 372)); if ( *(_BYTE *)(a1 + 376) == 1 ) { glBindBuffer(0x8892u, *(_DWORD *)(a1 + 344)); glBufferData(0x8892u, 20LL * *(unsigned int *)(a1 + 348), *(const GLvoid **)(a1 + 360), 0x88E0u); *(_BYTE *)(a1 + 376) = 0; } cocos2d::ccGLBindVAO(*(_DWORD *)(a1 + 340)); glDrawArrays(4u, 0, *(_DWORD *)(a1 + 352)); glBindBuffer(0x8892u, 0); ++dword_100BE8BE8; return &dword_100BE8BE8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source