// // LevelAreaInnerLayer::scene from 0x1403df700 to 0x1403df80d (269 bytes) // // 4 xrefs: // > GameManager::returnToLastScene @ 0x1402873ac // > LevelAreaLayer::onEnterTower @ 0x1403deb63 // > SecretLayer5::onBack @ 0x14058d859 // > @ 0x140924db8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:31:40 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall LevelAreaInnerLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { unsigned __int8 v4; // bl __int64 v5; // rsi __int64 v6; // rcx cocos2d::CCLayer *v7; // rdi v4 = a1; v5 = cocos2d::CCScene::create(a1, a2, a3, a4); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v6) + 232) = v5; v7 = (cocos2d::CCLayer *)operator new(0x1B8u); cocos2d::CCLayer::CCLayer(v7); *(_QWORD *)v7 = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 40) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 41) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 42) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 43) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 44) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 51) = &LevelAreaInnerLayer::`vftable'; *((_QWORD *)v7 + 52) = 0; *((_BYTE *)v7 + 424) = 0; *((_DWORD *)v7 + 107) = 0; *((_BYTE *)v7 + 432) = 0; if ( (unsigned __int8)LevelAreaInnerLayer::init(v7, v4) ) { cocos2d::CCObject::autorelease(v7); } else { (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1); v7 = nullptr; } (*(void (__fastcall **)(__int64, cocos2d::CCLayer *))(*(_QWORD *)v5 + 464LL))(v5, v7); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source