// // cocos2d::CCLabelBMFont::getLetterPosXLeft from 0xae48a4 to 0xae4948 (164 bytes) // // 4 xrefs: // > CCTextInputNode::updateBlinkLabelToChar @ 0x5a2fd0 // > CCTextInputNode::updateCursorPosition @ 0x5a52d4 // > cocos2d::CCLabelBMFont::updateLabel @ 0xae7f2c // > @ 0x39ca8 // // 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::getLetterPosXLeft(cocos2d::CCLabelBMFont *a1, cocos2d::CCSprite *a2, float a3, bool a4) { _BOOL4 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 ( v6 && width <= 0.0 ) width = a3 * 1.5; v8 = a2->getPosition(a2); m_fScaleX = a1->m_fScaleX; x = v8->x; return -(float)((float)((float)(width * m_fScaleX) * a2->getAnchorPoint(a2)->x) - (float)(x * m_fScaleX)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source