// // cocos2d::CCLabelBMFont::getLetterPosXRight from 0xae4948 to 0xae49f4 (172 bytes) // // 4 xrefs: // > CCTextInputNode::updateCursorPosition @ 0x5a5214 // > CCTextInputNode::updateCursorPosition @ 0x5a527c // > cocos2d::CCLabelBMFont::updateLabel @ 0xae7f4c // > @ 0xc4578 // // 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) { unsigned int v6; // w21 float width; // s8 const cocos2d::CCPoint *v8; // x0 float m_fScaleX; // s9 float x; // s10 v6 = a4; width = a2->getContentSize(a2)->width; if ( (width <= 0.0) > v6 ) width = a3 * 1.5; v8 = a2->getPosition(a2); m_fScaleX = a1->m_fScaleX; x = v8->x; return (float)((float)(width * m_fScaleX) * a2->getAnchorPoint(a2)->x) + (float)(x * m_fScaleX); }
GD Web Decomp Icon

GD Web Decomp

Raw Source