{"type": "func", "start": 5370774544, "end": 5370774610, "name": "GauntletLayer::onBack", "pseudocode": "// \n// GauntletLayer::onBack from 0x1401f8410 to 0x1401f8452 (66 bytes)\n// \n// 2 xrefs:\n// > GauntletLayer::init @ 0x1401f64e6\n// > <???> @ 0x1406cc918\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GauntletLayer::onBack(GauntletLayer *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ecx\n  struct cocos2d::CCScene *v3; // rax\n  struct cocos2d::CCTransitionFade *v4; // rbx\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n\n  a1->setKeypadEnabled(a1, 0);\n  v3 = GauntletSelectLayer::scene(v2);\n  v4 = cocos2d::CCTransitionFade::create(0.5, v3);\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n  cocos2d::CCDirector::replaceScene(v6, v4);\n}", "assembly": "; \n; GauntletLayer::onBack from 0x1401f8410 to 0x1401f8452 (66 bytes)\n; \n; 2 xrefs:\n; > GauntletLayer::init @ 0x1401f64e6\n; > <???> @ 0x1406cc918\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1401f8410\nsub     rsp, 20h                                                       ; +0x2, 0x1401f8412\nmov     rax, [rcx]                                                     ; +0x6, 0x1401f8416\nxor     edx, edx                                                       ; +0x9, 0x1401f8419\ncall    qword ptr [rax+3D0h]                                           ; +0xb, 0x1401f841b\ncall    GauntletSelectLayer__scene                                     ; +0x11, 0x1401f8421\nmovss   xmm0, cs:dword_140622B08                                       ; +0x16, 0x1401f8426\nmov     rdx, rax                                                       ; +0x1e, 0x1401f842e\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x21, 0x1401f8431\nmov     rbx, rax                                                       ; +0x27, 0x1401f8437\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2a, 0x1401f843a\nmov     rcx, rax                                                       ; +0x30, 0x1401f8440\nmov     rdx, rbx                                                       ; +0x33, 0x1401f8443\nadd     rsp, 20h                                                       ; +0x36, 0x1401f8446\npop     rbx                                                            ; +0x3a, 0x1401f844a\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3b, 0x1401f844b", "xrefs": ["GauntletLayer::init @ 0x1401f64e6", "<???> @ 0x1406cc918"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}