// // SecretLayer5::onBack from 0x14058d820 to 0x14058d896 (118 bytes) // // 5 xrefs: // > SecretLayer5::keyBackClicked @ 0x14058d8a9 // > SecretLayer5::init @ 0x140589dbc // > @ 0x1408dd4c0 // > @ 0x1408dd4d0 // > @ 0x14092cbd0 // // 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:30 +0000 // void __fastcall SecretLayer5::onBack(__int64 a1) { __int64 v2; // rcx __int64 v3; // rdx __int64 v4; // r8 __int64 v5; // r9 struct cocos2d::CCScene *v6; // rax struct cocos2d::CCScene *v7; // rbx __int64 v8; // rcx cocos2d::CCDirector *v9; // rax if ( !*(_BYTE *)(a1 + 552) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 464) + 1032LL))(*(_QWORD *)(a1 + 464), 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); LOBYTE(v2) = 1; v6 = (struct cocos2d::CCScene *)LevelAreaInnerLayer::scene(v2, v3, v4, v5); v7 = cocos2d::CCTransitionFade::create(0.5, v6); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::replaceScene(v9, v7); *(_BYTE *)(a1 + 488) = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source