// // cocos2d::CCSpriteBatchNode::draw from 0x7f22c2 to 0x7f234c (138 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:05 +0000 // int __fastcall cocos2d::CCSpriteBatchNode::draw(cocos2d::CCSpriteBatchNode *this) { int result; // r0 __int64 v3; // r0 cocos2d::CCGLProgram *v4; // r0 _DWORD *v5; // r2 int v6; // r3 int *v7; // r6 int *v8; // r5 int v9; // r0 int v10; // t1 result = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 40))(*((_DWORD *)this + 67)); if ( result ) { cocos2d::ccGLEnable(); (*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_DWORD *)this + 328))(this); v3 = ((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))*(_DWORD *)(*(_DWORD *)this + 328))(this); cocos2d::CCGLProgram::use((cocos2d **)v3, HIDWORD(v3)); v4 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_DWORD *)this + 328))(this); cocos2d::CCGLProgram::setUniformsForBuiltins(v4); v6 = *((_DWORD *)this + 48); if ( v6 ) { v5 = *(_DWORD **)(v6 + 52); if ( *v5 ) { v7 = (int *)v5[3]; v8 = &v7[*v5 - 1]; while ( v7 <= v8 ) { v10 = *v7++; v9 = v10; if ( !v10 ) break; (*(void (__fastcall **)(int))(*(_DWORD *)v9 + 396))(v9); } } } cocos2d::ccGLBlendFunc(*((cocos2d **)this + 68), *((_DWORD *)this + 69), (unsigned int)v5); return cocos2d::CCTextureAtlas::drawQuads(*((cocos2d::CCTextureAtlas **)this + 67)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source