// // cocos2d::CCLabelBMFont::getLetterPosXRight from 0x5ccc62 to 0x5cccc8 (102 bytes) // // 3 xrefs: // > CCTextInputNode::updateCursorPosition @ 0x2fb3ae // > CCTextInputNode::updateCursorPosition @ 0x2fb452 // > cocos2d::CCLabelBMFont::updateLabel @ 0x5cd8ea // // 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 cocos2d::CCLabelBMFont::getLetterPosXRight(cocos2d::CCLabelBMFont *a1, cocos2d::CCSprite *a2, float a3, bool a4) { _BOOL4 v4; // r6 float width; // s16 const cocos2d::CCPoint *v9; // r0 float m_fScaleX; // s15 float v11; // s17 v4 = a4; width = a2->getContentSize(a2)->width; if ( !v4 && width <= 0.0 ) width = a3 * 1.5; v9 = a2->getPosition(a2); m_fScaleX = a1->m_fScaleX; v11 = m_fScaleX * v9->x; return v11 + (float)((float)(width * m_fScaleX) * a2->getAnchorPoint(a2)->x); }
GD Web Decomp Icon

GD Web Decomp

Raw Source