// // GJTransformControl::updateMinMaxPositions from 0x6b6398 to 0x6b64c8 (304 bytes) // // 1 xrefs: // > @ 0x99ab0 // // 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 GJTransformControl::updateMinMaxPositions(GJTransformControl *a1) { int m_transformButtonType; // w1 cocos2d::CCSprite *v3; // x0 const cocos2d::CCPoint *v4; // x0 cocos2d::CCSprite *v5; // x0 const cocos2d::CCPoint *v6; // x0 float v7; // s0 float v8; // s1 cocos2d::CCSprite *v9; // x0 const cocos2d::CCPoint *v10; // x0 cocos2d::CCSprite *v11; // x0 const cocos2d::CCPoint *v12; // x0 float v13; // s0 float v14; // s1 cocos2d::CCPoint v15; // [xsp+28h] [xbp+28h] BYREF cocos2d::CCPoint v16; // [xsp+30h] [xbp+30h] BYREF m_transformButtonType = a1->m_transformButtonType; if ( m_transformButtonType == 10 ) { v9 = GJTransformControl::spriteByTag(a1, 7); v10 = v9->getPosition(v9); cocos2d::CCPoint::CCPoint(&v15, v10); v11 = GJTransformControl::spriteByTag(a1, 8); v12 = v11->getPosition(v11); cocos2d::CCPoint::CCPoint(&v16, v12); v13 = a1->m_topRightPosition.x / a1->m_topRight.x; v14 = v16.x / v13; a1->m_topRight.x = v15.x / v13; a1->m_bottomLeft.x = v14; } else if ( m_transformButtonType == 11 ) { v3 = GJTransformControl::spriteByTag(a1, 7); v4 = v3->getPosition(v3); cocos2d::CCPoint::CCPoint(&v15, v4); v5 = GJTransformControl::spriteByTag(a1, 8); v6 = v5->getPosition(v5); cocos2d::CCPoint::CCPoint(&v16, v6); v7 = a1->m_topRightPosition.y / a1->m_topRight.y; v8 = v16.y / v7; a1->m_topRight.y = v15.y / v7; a1->m_bottomLeft.y = v8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source