// // cocos2d::CCSpriteBatchNode::draw from 0x1800915d0 to 0x1800916a7 (215 bytes) // // 7 xrefs: // > @ 0x1800f2670 // > @ 0x18010a628 // > @ 0x18010c3b8 // > @ 0x180146b9c // > @ 0x180146bd0 // > @ 0x18014cf68 // > @ 0x1801c0264 // // 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:22:08 +0000 // void __fastcall cocos2d::CCSpriteBatchNode::draw(cocos2d::CCSpriteBatchNode *this, float a2) { cocos2d::CCGLProgram *v3; // rax unsigned int v4; // edx cocos2d::CCGLProgram *v5; // rax __int64 v6; // rbx unsigned int *v7; // rbx __int64 v8; // rax _QWORD *v9; // rbx _QWORD *i; // rsi if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 72LL))(*((_QWORD *)this + 41)) ) { cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)*((unsigned int *)this + 62), a2); (*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_QWORD *)this + 648LL))(this); v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_QWORD *)this + 648LL))(this); cocos2d::CCGLProgram::use(v3, v4); v5 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_QWORD *)this + 648LL))(this); cocos2d::CCGLProgram::setUniformsForBuiltins(v5); v6 = *((_QWORD *)this + 26); if ( v6 ) { v7 = *(unsigned int **)(v6 + 56); v8 = *v7; if ( (_DWORD)v8 ) { v9 = *((_QWORD **)v7 + 2); for ( i = &v9[v8 - 1]; v9 <= i; ++v9 ) { if ( !*v9 ) break; (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v9 + 784LL))(*v9); } } } cocos2d::ccGLBlendFunc(*((_DWORD *)this + 84), *((_DWORD *)this + 85)); cocos2d::CCTextureAtlas::drawQuads(*((cocos2d::CCTextureAtlas **)this + 41)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source