// // GJTransformControl::create from 0x387168 to 0x387262 (250 bytes) // // 1 xrefs: // > EditorUI::init @ 0x3a11fa // // 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 // GJTransformControl *GJTransformControl::create() { GJTransformControl *v0; // r4 GJTransformControl_vtbl *v1; // r3 GJTransformControl_vtbl *v2; // r3 int *v3; // r0 v0 = (GJTransformControl *)operator new(0x1B8u); cocos2d::CCLayer::CCLayer(v0); v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJTransformControl_vtbl *)&off_A4CE98; v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A4D0D8; v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A4D110; v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4D11C; v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4D12C; v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4D13C; v0->m_touchID = -1; v0->m_objects = nullptr; v0->m_transformButtonType = 0; v0->m_delegate = nullptr; cocos2d::CCPoint::CCPoint(&v0->m_cursorDifference); cocos2d::CCPoint::CCPoint(&v0->m_topRight); cocos2d::CCPoint::CCPoint(&v0->m_bottomLeft); cocos2d::CCPoint::CCPoint(&v0->m_topRightPosition); cocos2d::CCPoint::CCPoint(&v0->m_bottomLeftPosition); cocos2d::CCPoint::CCPoint(&v0->m_topRightOrigin); cocos2d::CCPoint::CCPoint(&v0->m_bottomLeftOrigin); v0->m_warpSprites = nullptr; cocos2d::CCPoint::CCPoint(&v0->m_rotatePosition); v0->m_scaleX = 1.0; v0->m_scaleY = 1.0; v0->m_buttonScale = 1.0; v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v0->m_warpLockButton = nullptr; v0->m_warpLocked = 0; v0->m_rotationX = 0.0; v0->m_rotationY = 0.0; v0->m_rotation = 0.0; if ( ((int (__fastcall *)(GJTransformControl *))v1->init)(v0) ) { cocos2d::CCObject::autorelease(v0); } else { v2 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v3 = (int *)v0; v0 = nullptr; v2->~GJTransformControl_0((GJTransformControl *)v3); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source