{"type": "func", "start": 5373030032, "end": 5373030165, "name": "LevelInfoLayer::onGarage", "pseudocode": "// \n// LevelInfoLayer::onGarage from 0x14041ee90 to 0x14041ef15 (133 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x14041ddf6\n// > <???> @ 0x14092678c\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:32:08 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelInfoLayer::onGarage(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  struct cocos2d::CCScene *v4; // rax\n  struct cocos2d::CCScene *v5; // rbx\n  __int64 v6; // rcx\n  cocos2d::CCDirector *v7; // rax\n  __int64 v8; // rax\n  void *v9; // [rsp+30h] [rbp+8h]\n\n  if ( !*(_BYTE *)(a1 + 488) )\n  {\n    v4 = (struct cocos2d::CCScene *)GJGarageLayer::scene(a1, a2, a3, a4);\n    v5 = cocos2d::CCTransitionMoveInT::create(0.5, v4);\n    v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6);\n    cocos2d::CCDirector::pushScene(v7, v5);\n    v8 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v9 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager((__int64)v9);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v8 = qword_14090BFD0;\n    }\n    *(_BYTE *)(v8 + 1112) = 1;\n  }\n}", "assembly": "; \n; LevelInfoLayer::onGarage from 0x14041ee90 to 0x14041ef15 (133 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x14041ddf6\n; > <???> @ 0x14092678c\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:32:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041ee90\nsub     rsp, 20h                                                       ; +0x2, 0x14041ee92\ncmp     byte ptr [rcx+1E8h], 0                                         ; +0x6, 0x14041ee96\njnz     short loc_14041EF0F                                            ; +0xd, 0x14041ee9d\ncall    GJGarageLayer__scene                                           ; +0xf, 0x14041ee9f\nmov     rdx, rax                                                       ; +0x14, 0x14041eea4\nmovss   xmm0, cs:dword_140834F20                                       ; +0x17, 0x14041eea7\ncall    cs:?create@CCTransitionMoveInT@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionMoveInT::create(float,cocos2d::CCScene *) ; +0x1f, 0x14041eeaf\nmov     rbx, rax                                                       ; +0x25, 0x14041eeb5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x14041eeb8\nmov     rcx, rax                                                       ; +0x2e, 0x14041eebe\nmov     rdx, rbx                                                       ; +0x31, 0x14041eec1\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x34, 0x14041eec4\nmov     rax, cs:qword_14090BFD0                                        ; +0x3a, 0x14041eeca\ntest    rax, rax                                                       ; +0x41, 0x14041eed1\njnz     short loc_14041EF08                                            ; +0x44, 0x14041eed4\nmov     ecx, 6E8h; Size                                                ; +0x46, 0x14041eed6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b, 0x14041eedb\nmov     [rsp+28h+arg_0], rax                                           ; +0x50, 0x14041eee0\nmov     rcx, rax                                                       ; +0x55, 0x14041eee5\ncall    GameManager__GameManager                                       ; +0x58, 0x14041eee8\nnop                                                                    ; +0x5d, 0x14041eeed\nmov     cs:qword_14090BFD0, rax                                        ; +0x5e, 0x14041eeee\nmov     rcx, [rax]                                                     ; +0x65, 0x14041eef5\nmov     rdx, [rcx+48h]                                                 ; +0x68, 0x14041eef8\nmov     rcx, rax                                                       ; +0x6c, 0x14041eefc\ncall    rdx                                                            ; +0x6f, 0x14041eeff\nmov     rax, cs:qword_14090BFD0                                        ; +0x71, 0x14041ef01\nmov     byte ptr [rax+458h], 1                                         ; +0x78, 0x14041ef08\nadd     rsp, 20h                                                       ; +0x7f, 0x14041ef0f\npop     rbx                                                            ; +0x83, 0x14041ef13\nretn                                                                   ; +0x84, 0x14041ef14", "xrefs": ["LevelInfoLayer::init @ 0x14041ddf6", "<???> @ 0x14092678c"], "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"}