// // cocos2d::extension::CCControlButton::setLabelAnchorPoint from 0x5a1430 to 0x5a1454 (36 bytes) // // 0 xrefs: // // 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 // void cocos2d::extension::CCControlButton::setLabelAnchorPoint( cocos2d::extension::CCControlButton *a1, cocos2d::CCPoint a2) { bool v2; // r3 float x; // r5 int m_nLuaID; // r0 x = a2.x; cocos2d::CCPoint::operator=((PlayerObject *)&a1[1].m_uIndexInArray, a2.x, SLODWORD(a2.y), v2); m_nLuaID = a1[1].m_nLuaID; if ( m_nLuaID ) (*(void (__fastcall **)(int, float))(*(_DWORD *)m_nLuaID + 140))(m_nLuaID, COERCE_FLOAT(LODWORD(x))); }
GD Web Decomp Icon

GD Web Decomp

Raw Source