// // MapSelectLayer::create from 0x50e53c to 0x50e5f4 (184 bytes) // // 1 xrefs: // > MapSelectLayer::scene @ 0x50e606 // // 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 // MapSelectLayer *MapSelectLayer::create() { MapSelectLayer *v0; // r4 MapSelectLayer_vtbl *v1; // r3 MapSelectLayer_vtbl *v2; // r3 int *v3; // r0 v0 = (MapSelectLayer *)operator new(0x178u); cocos2d::CCLayer::CCLayer(v0); v0->m_lastTouchTime = 0.0; v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (MapSelectLayer_vtbl *)&off_A831D0; v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A83414; v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A8344C; v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A83458; v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A83468; v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A83478; v0->m_bigSprite = nullptr; v0->m_mainLayer = nullptr; v0->m_unloadTexturesOnExit = 0; v0->m_backPressed = 0; v0->m_blockExit = 0; v0->m_inTouch = 0; v0->m_editMode = 0; cocos2d::CCPoint::CCPoint(&v0->m_lastTouchPos); cocos2d::CCPoint::CCPoint(&v0->m_mapPos); v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v0->m_monsters = nullptr; v0->m_editorLayer = nullptr; if ( ((int (__fastcall *)(MapSelectLayer *))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->~MapSelectLayer_0((MapSelectLayer *)v3); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source