// // cocos2d::CCTexture2D::drawInRect from 0x7ff300 to 0x7ff3bc (188 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:18 +0000 // void __fastcall cocos2d::CCTexture2D::drawInRect(cocos2d::CCTexture2D *this, const cocos2d::CCRect *a2) { float v4; // s13 int v5; // r3 float v6; // s14 float v7; // s15 float v8; // s14 float v9; // s13 unsigned int v10; // r1 unsigned int v11; // r1 unsigned int v12; // r1 unsigned int v13; // r2 _DWORD v14[16]; // [sp+Ch] [bp+0h] BYREF memset(v14, 0, 0x20u); v4 = *(float *)a2; v5 = *((_DWORD *)this + 18); v6 = *((float *)a2 + 2); v14[1] = *((_DWORD *)this + 19); v14[2] = v5; v7 = *((float *)a2 + 1); v14[3] = v14[1]; v14[6] = v5; v8 = v4 + v6; *(float *)&v14[8] = v4; *(float *)&v14[12] = v4; v9 = *((float *)a2 + 3); *(float *)&v14[9] = v7; *(float *)&v14[11] = v7; *(float *)&v14[10] = v8; *(float *)&v14[14] = v8; *(float *)&v14[13] = v7 + v9; *(float *)&v14[15] = v7 + v9; cocos2d::ccGLEnableVertexAttribs((unsigned int)&byte_5, v10); cocos2d::CCGLProgram::use(*((cocos2d ***)this + 23), v11); cocos2d::CCGLProgram::setUniformsForBuiltins(*((cocos2d::CCGLProgram **)this + 23)); cocos2d::ccGLBindTexture2D(*((cocos2d **)this + 17), v12, v13); glVertexAttribPointer(); glVertexAttribPointer(); glDrawArrays(5u, 0, 4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source