// // GJScaleControl::create from 0x386a4c to 0x386b0a (190 bytes) // // 1 xrefs: // > EditorUI::init @ 0x3a11c4 // // 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 // GJScaleControl *GJScaleControl::create() { GJScaleControl *v0; // r4 GJScaleControl_vtbl *v1; // r3 int *v2; // r0 v0 = (GJScaleControl *)operator new(0x188u); cocos2d::CCLayer::CCLayer(v0); v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJScaleControl_vtbl *)&off_A4CBE0; v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A4CE20; v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A4CE58; v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4CE64; v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4CE74; v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4CE84; v0->m_touchID = -1; v0->m_sliderX = nullptr; v0->m_valueX = 0.0; v0->m_valueY = 0.0; v0->m_changedValueX = 0.0; v0->m_changedValueY = 0.0; v0->m_sliderY = nullptr; v0->m_upperBound = 2.0; v0->m_sliderXY = nullptr; v0->m_scale1Lock = 0; v0->m_scaleButtonType = X; v0->m_delegate = nullptr; v0->m_lowerBound = 0.5; v0->m_senderTag = 0; v0->m_scaleLockButton = nullptr; v0->m_scaleLocked = 0; if ( GJScaleControl::init(v0) ) { cocos2d::CCObject::autorelease(v0); } else { v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v2 = (int *)v0; v0 = nullptr; v1->~GJScaleControl_0((GJScaleControl *)v2); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source