// // cocos2d::CCLabelBMFont::getLetterPosXRight from 0x1002fcc64 to 0x1002fcd08 (164 bytes) // // 2 xrefs: // > CCTextInputNode::updateCursorPosition @ 0x10016e480 // > CCTextInputNode::updateCursorPosition @ 0x10016e4e8 // // 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::getLetterPosXRight( cocos2d::CCLabelBMFont *a1, cocos2d::CCSprite *a2, float a3, bool a4) { _BOOL4 v4; // w19 float *v8; // x0 __n128 v9; // q0 float v11; // s8 float v12; // s9 float m_fScaleX; // s10 v4 = a4; v8 = (float *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a2->getContentSize)(a2); if ( *v8 > 0.0 || v4 ) v11 = *v8; else v11 = a3 * 1.5; v9.n128_f32[0] = *v8; v12 = *(float *)((__int64 (__fastcall *)(cocos2d::CCSprite *, __n128))a2->getPosition)(a2, v9); m_fScaleX = a1->m_fScaleX; return (float)((float)(v11 * m_fScaleX) * *(float *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a2->getAnchorPoint)(a2)) + (float)(v12 * m_fScaleX); }
GD Web Decomp Icon

GD Web Decomp

Raw Source