{"type": "func", "start": 4300681568, "end": 4300681680, "name": "GauntletSelectLayer::keyBackClicked", "pseudocode": "// \n// GauntletSelectLayer::keyBackClicked from 0x100573160 to 0x1005731d0 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100964e38\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 __fastcall GauntletSelectLayer::keyBackClicked(GauntletSelectLayer *a1)\n{\n  cocos2d::CCDirector *v1; // rbx\n  cocos2d::CCScene *v2; // rax\n  cocos2d::CCTransitionFade *v3; // rax\n\n  if ( !a1->m_playing && !a1->m_locked )\n  {\n    GameManager::sharedState()->m_currentGauntlet = 1;\n    *(_WORD *)&a1->m_exiting = 257;\n    ((void (__fastcall *)(GauntletSelectLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n    v1 = cocos2d::CCDirector::sharedDirector();\n    v2 = CreatorLayer::scene();\n    v3 = cocos2d::CCTransitionFade::create_1(0.5, v2);\n    cocos2d::CCDirector::replaceScene(v1, v3);\n  }\n}", "assembly": "; \n; GauntletSelectLayer::keyBackClicked from 0x100573160 to 0x1005731d0 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100964e38\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\ncmp     byte ptr [rdi+1D9h], 0                                         ; +0x0, 0x100573160\njnz     short locret_100573172                                         ; +0x7, 0x100573167\ncmp     byte ptr [rdi+201h], 0                                         ; +0x9, 0x100573169\njz      short loc_100573173                                            ; +0x10, 0x100573170\nretn                                                                   ; +0x12, 0x100573172\npush    rbp                                                            ; +0x13, 0x100573173\nmov     rbp, rsp                                                       ; +0x14, 0x100573174\npush    rbx                                                            ; +0x17, 0x100573177\npush    rax                                                            ; +0x18, 0x100573178\nmov     rbx, rdi                                                       ; +0x19, 0x100573179\ncall    GameManager__sharedState                                       ; +0x1c, 0x10057317c\nmov     dword ptr [rax+3FCh], 1                                        ; +0x21, 0x100573181\nmov     word ptr [rbx+1D8h], 101h                                      ; +0x2b, 0x10057318b\nmov     rax, [rbx]                                                     ; +0x34, 0x100573194\nmov     rdi, rbx                                                       ; +0x37, 0x100573197\nxor     esi, esi                                                       ; +0x3a, 0x10057319a\ncall    qword ptr [rax+420h]                                           ; +0x3c, 0x10057319c\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x42, 0x1005731a2\nmov     rbx, rax                                                       ; +0x47, 0x1005731a7\ncall    CreatorLayer__scene                                            ; +0x4a, 0x1005731aa\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x4f, 0x1005731af\nmov     rdi, rax                                                       ; +0x57, 0x1005731b7\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x5a, 0x1005731ba\nmov     rdi, rbx                                                       ; +0x5f, 0x1005731bf\nmov     rsi, rax                                                       ; +0x62, 0x1005731c2\nadd     rsp, 8                                                         ; +0x65, 0x1005731c5\npop     rbx                                                            ; +0x69, 0x1005731c9\npop     rbp                                                            ; +0x6a, 0x1005731ca\njmp     cocos2d__CCDirector__replaceScene                              ; +0x6b, 0x1005731cb", "xrefs": ["<???> @ 0x100964e38"], "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"}