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

GD Web Decomp

Raw Source