//
// cocos2d::CCTexture2D::drawAtPoint from 0x7ff228 to 0x7ff2fc (212 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::drawAtPoint(cocos2d::CCTexture2D *this, const cocos2d::CCPoint *a2)
{
float v4; // s12
float v5; // s10
float v6; // s14
float v7; // s13
float v8; // s11
float v9; // s9
unsigned int v10; // r1
unsigned int v11; // r1
unsigned int v12; // r1
unsigned int v13; // r2
float v14[9]; // [sp+Ch] [bp-48h] BYREF
float v15; // [sp+30h] [bp-24h]
float v16; // [sp+34h] [bp-20h]
float v17; // [sp+38h] [bp-1Ch]
float v18; // [sp+3Ch] [bp-18h]
float v19; // [sp+40h] [bp-14h]
float v20; // [sp+44h] [bp-10h]
float v21; // [sp+48h] [bp-Ch]
memset(v14, 0, 0x20u);
v4 = *(float *)a2;
v5 = (float)*((unsigned int *)this + 15);
v6 = *((float *)this + 19);
v7 = (float)*((unsigned int *)this + 16);
v8 = *((float *)this + 18);
v9 = *(float *)a2;
v15 = *((float *)a2 + 1);
v17 = v15;
v14[1] = v6;
v14[2] = v8;
v14[3] = v6;
v14[6] = v8;
v14[8] = v4;
v18 = v4;
v16 = v9 + (float)(v5 * v8);
v20 = v16;
v19 = v15 + (float)(v7 * v6);
v21 = v19;
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);
}