//
// cocos2d::CCLabelBMFont::getLetterPosXLeft from 0x180049e00 to 0x180049e73 (115 bytes)
//
// 3 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004e9f9
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbb78
//
// 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:21:42 +0000
//
float __fastcall cocos2d::CCLabelBMFont::getLetterPosXLeft(cocos2d::CCLabelBMFont *this, struct cocos2d::CCSprite *a2)
{
float v4; // xmm6_4
float *v5; // rbx
v4 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 320LL))(a2);
v5 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 296LL))(a2);
return (float)(*((float *)this + 16)
* *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 200LL))(a2))
- (float)((float)(*((float *)this + 16) * v4) * *v5);
}