//
// cocos2d::CCLabelBMFont::getLetterPosXLeft from 0x1003994e8 to 0x100399564 (124 bytes)
//
// 2 xrefs:
// > sub_1001FCD10 @ 0x1001fcf50
// > CCTextInputNode::updateCursorPosition @ 0x1001feb54
//
// 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 11:03:42 +0000
//
float __fastcall cocos2d::CCLabelBMFont::getLetterPosXLeft(__int64 a1, __int64 a2)
{
float v4; // s8
float v5; // s9
float v6; // s10
v4 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2);
v5 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
v6 = *(float *)(a1 + 64);
return (float)((float)-(float)(v4 * v6) * *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 304LL))(a2))
+ (float)(v5 * v6);
}