// // PlayLayer::scene from 0x140503930 to 0x1405039d8 (168 bytes) // // 7 xrefs: // > EditLevelLayer::playStep3 @ 0x14017b57e // > GJGameLoadingLayer::loadLevel @ 0x14035335e // > LevelAreaInnerLayer::playStep1 @ 0x1403e17be // > LevelInfoLayer::playStep3 @ 0x14042244e // > LevelPage::playStep3 @ 0x1404472a0 // > SecretLayer2::onSecretLevel @ 0x14057a22f // > @ 0x14092a854 // // 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:33:25 +0000 // // Hidden C++ exception states: #wind=1 _DWORD *__fastcall PlayLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { unsigned __int8 v4; // si _DWORD *v6; // rdi __int64 v7; // rcx __int64 v8; // rax cocos2d::CCObject *v9; // rbx void *v11; // [rsp+40h] [rbp+18h] v4 = a2; v6 = (_DWORD *)cocos2d::CCScene::create(a1, a2, a3, a4); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v7) + 232) = v6; v11 = operator new(0x3CE0u); v8 = PlayLayer::PlayLayer((__int64)v11); v9 = (cocos2d::CCObject *)v8; if ( v8 ) { if ( (unsigned __int8)PlayLayer::init(v8, a1, v4) ) { cocos2d::CCObject::autorelease(v9); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1); v9 = nullptr; } } (*(void (__fastcall **)(_DWORD *, cocos2d::CCObject *))(*(_QWORD *)v6 + 464LL))(v6, v9); v6[7] = 5; return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source