// // cocos2d::CCAtlasNode::draw from 0xd3bf28 to 0xd3c028 (256 bytes) // // 4 xrefs: // > @ 0xc20f8 // > @ 0x15157e8 // > @ 0x1517508 // > @ 0x1531738 // // This function is hookable on this platform (idp: arm, 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 13:07:26 +0000 // __int64 __fastcall cocos2d::CCAtlasNode::draw(cocos2d::CCAtlasNode *this) { cocos2d::CCGLProgram *v2; // x0 cocos2d::CCGLProgram *v3; // x0 unsigned int v4; // w2 int v5; // w3 int v6; // w2 float v7; // s0 __int64 (__fastcall *v8)(cocos2d::CCAtlasNode *); // x1 cocos2d::CCGLProgram *v9; // x0 float v11[4]; // [xsp+28h] [xbp+28h] BYREF cocos2d::ccGLEnable(*((unsigned int *)this + 62)); (*(void (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 656LL))(this); v2 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 656LL))(this); cocos2d::CCGLProgram::use(v2); v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 656LL))(this); cocos2d::CCGLProgram::setUniformsForBuiltins(v3); cocos2d::ccGLBlendFunc((cocos2d *)*((unsigned int *)this + 97), *((_DWORD *)this + 98), v4); v5 = *((unsigned __int8 *)this + 331); v6 = *((unsigned __int8 *)this + 332); v7 = (float)*((unsigned __int8 *)this + 328); v8 = *(__int64 (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 656LL); v11[0] = (float)*((unsigned __int8 *)this + 330) / 255.0; v11[1] = (float)v5 / 255.0; v11[2] = (float)v6 / 255.0; v11[3] = v7 / 255.0; v9 = (cocos2d::CCGLProgram *)v8(this); cocos2d::CCGLProgram::setUniformLocationWith4fv(v9, *((_DWORD *)this + 100), v11, 1u); cocos2d::CCTextureAtlas::drawNumberOfQuads(*((cocos2d::CCTextureAtlas **)this + 47), *((_DWORD *)this + 99), 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source