// // GJRotationControl::create from 0x386690 to 0x386730 (160 bytes) // // 1 xrefs: // > EditorUI::init @ 0x3a118e // // 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 // GJRotationControl *GJRotationControl::create() { GJRotationControl *v0; // r4 GJRotationControl_vtbl *v1; // r3 int *v2; // r0 v0 = (GJRotationControl *)operator new(0x160u); cocos2d::CCLayer::CCLayer(v0); v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJRotationControl_vtbl *)&off_A4C928; v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A4CB68; v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A4CBA0; v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4CBAC; v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4CBBC; v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4CBCC; cocos2d::CCPoint::CCPoint(&v0->m_cursorDifference); cocos2d::CCPoint::CCPoint(&v0->m_controlPosition); v0->m_startingRotation = 0.0; v0->m_currentRotation = 0.0; v0->m_touchID = -1; v0->m_delegate = nullptr; if ( ((int (__fastcall *)(GJRotationControl *))v0->init)(v0) ) { cocos2d::CCObject::autorelease(v0); } else { v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v2 = (int *)v0; v0 = nullptr; v1->~GJRotationControl_0((GJRotationControl *)v2); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source