{"type": "func", "start": 5371843120, "end": 5371843186, "name": "GauntletLayer::onBack", "pseudocode": "// \n// GauntletLayer::onBack from 0x1402fd230 to 0x1402fd272 (66 bytes)\n// \n// 2 xrefs:\n// > GauntletLayer::init @ 0x1402fb253\n// > <???> @ 0x14091e3a4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:06 +0000\n// \n\nbool __fastcall GauntletLayer::onBack(__int64 a1)\n{\n  struct cocos2d::CCScene *v1; // rax\n  struct cocos2d::CCScene *v2; // rbx\n  __int64 v3; // rcx\n  cocos2d::CCDirector *v4; // rax\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  v1 = (struct cocos2d::CCScene *)GauntletSelectLayer::scene();\n  v2 = cocos2d::CCTransitionFade::create(0.5, v1);\n  v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);\n  return cocos2d::CCDirector::replaceScene(v4, v2);\n}", "assembly": "; \n; GauntletLayer::onBack from 0x1402fd230 to 0x1402fd272 (66 bytes)\n; \n; 2 xrefs:\n; > GauntletLayer::init @ 0x1402fb253\n; > <???> @ 0x14091e3a4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402fd230\nsub     rsp, 20h                                                       ; +0x2, 0x1402fd232\nmov     rax, [rcx]                                                     ; +0x6, 0x1402fd236\nxor     edx, edx                                                       ; +0x9, 0x1402fd239\ncall    qword ptr [rax+3E0h]                                           ; +0xb, 0x1402fd23b\ncall    GauntletSelectLayer__scene                                     ; +0x11, 0x1402fd241\nmovss   xmm0, cs:dword_140834F20                                       ; +0x16, 0x1402fd246\nmov     rdx, rax                                                       ; +0x1e, 0x1402fd24e\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x21, 0x1402fd251\nmov     rbx, rax                                                       ; +0x27, 0x1402fd257\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2a, 0x1402fd25a\nmov     rcx, rax                                                       ; +0x30, 0x1402fd260\nmov     rdx, rbx                                                       ; +0x33, 0x1402fd263\nadd     rsp, 20h                                                       ; +0x36, 0x1402fd266\npop     rbx                                                            ; +0x3a, 0x1402fd26a\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3b, 0x1402fd26b", "xrefs": ["GauntletLayer::init @ 0x1402fb253", "<???> @ 0x14091e3a4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}