// // cocos2d::CCLabelBMFont::getLetterPosXLeft from 0x180048790 to 0x18004883f (175 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b1938 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // float __fastcall cocos2d::CCLabelBMFont::getLetterPosXLeft( cocos2d::CCLabelBMFont *this, struct cocos2d::CCSprite *a2, float a3, char a4) { float v7; // xmm8_4 float *v8; // rax float m_fScaleX; // xmm7_4 float v10; // xmm6_4 v7 = *(float *)((__int64 (__fastcall *)(struct cocos2d::CCSprite *))a2->getContentSize)(a2); if ( a4 && v7 <= 0.0 ) v7 = a3 * 1.5; v8 = (float *)((__int64 (__fastcall *)(struct cocos2d::CCSprite *))a2->getPosition_0)(a2); m_fScaleX = this->m_fScaleX; v10 = *v8; return (float)(m_fScaleX * v10) - (float)((float)(v7 * m_fScaleX) * *(float *)((__int64 (__fastcall *)(struct cocos2d::CCSprite *))a2->getAnchorPoint)(a2)); }