//
// cocos2d::CCLabelBMFont::getLetterPosXLeft from 0xd55df0 to 0xd55e6c (124 bytes)
//
// 4 xrefs:
// > CCTextInputNode::updateBlinkLabelToChar @ 0x6c0f78
// > CCTextInputNode::updateCursorPosition @ 0x6c1b00
// > cocos2d::CCLabelBMFont::updateLabel @ 0xd5757c
// > ??> @ 0x97b70
//
// 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 13:07:43 +0000
//
float __fastcall cocos2d::CCLabelBMFont::getLetterPosXLeft(cocos2d::CCLabelBMFont *this, cocos2d::CCSprite *a2)
{
float v4; // s8
float *v5; // x0
float v6; // s9
float v7; // s10
v4 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 328LL))(a2);
v5 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 192LL))(a2);
v6 = *((float *)this + 16);
v7 = *v5;
return -(float)((float)((float)(v4 * v6)
* *(float *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 304LL))(a2))
- (float)(v7 * v6));
}