// // SecretLayer2::scene from 0x140577ca0 to 0x140577e17 (375 bytes) // // 4 xrefs: // > CreatorLayer::onSecretVault @ 0x140138523 // > GameManager::returnToLastScene @ 0x1402873b6 // > SecretLayer3::onBack @ 0x140584f86 // > @ 0x14092c828 // // 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:34:23 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall SecretLayer2::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { __int64 v4; // rdi __int64 v5; // rcx cocos2d::CCLayer *v6; // rbx v4 = cocos2d::CCScene::create(a1, a2, a3, a4); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v5) + 232) = v4; v6 = (cocos2d::CCLayer *)operator new(0x208u); cocos2d::CCLayer::CCLayer(v6); *(_QWORD *)v6 = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 40) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 41) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 42) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 43) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 44) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 51) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 52) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 53) = &SecretLayer2::`vftable'; *((_QWORD *)v6 + 54) = -1; *((_QWORD *)v6 + 55) = 0; *((_DWORD *)v6 + 112) = 0; *((_DWORD *)v6 + 113) = -1; *((_QWORD *)v6 + 57) = 0; *((_QWORD *)v6 + 58) = 0; *((_QWORD *)v6 + 60) = 0; *((_BYTE *)v6 + 488) = 0; *((_DWORD *)v6 + 123) = -1; *((_QWORD *)v6 + 62) = 0; *((_QWORD *)v6 + 63) = 0; *((_QWORD *)v6 + 64) = 0; if ( (unsigned __int8)SecretLayer2::init(v6) ) { cocos2d::CCObject::autorelease(v6); } else { (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1); v6 = nullptr; } (*(void (__fastcall **)(__int64, cocos2d::CCLayer *))(*(_QWORD *)v4 + 464LL))(v4, v6); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source