// // SecretLayer2::onBack from 0x14057f430 to 0x14057f4dd (173 bytes) // // 3 xrefs: // > SecretLayer2::keyBackClicked @ 0x14057f4e9 // > SecretLayer2::init @ 0x140578b85 // > @ 0x14092c930 // // 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:25 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall SecretLayer2::onBack(__int64 a1) { __int64 v2; // rcx struct cocos2d::CCScene *v3; // rax struct cocos2d::CCScene *v4; // rbx __int64 v5; // rcx cocos2d::CCDirector *v6; // rax void *v7; // [rsp+30h] [rbp+8h] (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 456) + 1032LL))(*(_QWORD *)(a1 + 456), 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } GameManager::fadeInMenuMusic(v2); v3 = (struct cocos2d::CCScene *)CreatorLayer::scene(); v4 = cocos2d::CCTransitionFade::create(0.5, v3); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::replaceScene(v6, v4); *(_BYTE *)(a1 + 488) = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source