//
// cocos2d::CCLabelBMFont::getLetterPosXLeft from 0x7d3198 to 0x7d31e4 (76 bytes)
//
// 3 xrefs:
// > CCTextInputNode::updateBlinkLabelToChar @ 0x3e1d72
// > CCTextInputNode::updateCursorPosition @ 0x3e23a8
// > cocos2d::CCLabelBMFont::updateLabel @ 0x7d3f84
//
// 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:00:36 +0000
//
float __fastcall cocos2d::CCLabelBMFont::getLetterPosXLeft(cocos2d::CCLabelBMFont *this, cocos2d::CCSprite *a2)
{
float v4; // s16
float *v5; // r0
float v6; // s15
float v7; // s17
v4 = *(float *)(*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 164))(a2);
v5 = (float *)(*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 96))(a2);
v6 = *((float *)this + 15);
v7 = v6 * *v5;
return v7
- (float)((float)(v4 * v6) * *(float *)(*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 152))(a2));
}