{"type": "func", "start": 5371624976, "end": 5371625076, "name": "GameSettingsLayer::dropDownLayerWillClose", "pseudocode": "// \n// GameSettingsLayer::dropDownLayerWillClose from 0x1402c7e10 to 0x1402c7e74 (100 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140765d78\n// > <???> @ 0x14091dc0c\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:29:22 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid GameSettingsLayer::dropDownLayerWillClose()\n{\n  __int64 v0; // rcx\n  void *v1; // [rsp+40h] [rbp+18h]\n\n  v0 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v1 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v0 = qword_14090BFD0;\n  }\n  if ( !*(_QWORD *)(v0 + 560) && !*(_QWORD *)(v0 + 568) )\n    GameManager::fadeInMenuMusic(v0);\n}", "assembly": "; \n; GameSettingsLayer::dropDownLayerWillClose from 0x1402c7e10 to 0x1402c7e74 (100 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140765d78\n; > <???> @ 0x14091dc0c\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:29:22 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1402c7e10\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4, 0x1402c7e14\ntest    rcx, rcx                                                       ; +0xb, 0x1402c7e1b\njnz     short loc_1402C7E52                                            ; +0xe, 0x1402c7e1e\nmov     ecx, 6E8h; Size                                                ; +0x10, 0x1402c7e20\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x1402c7e25\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x1402c7e2a\nmov     rcx, rax                                                       ; +0x1f, 0x1402c7e2f\ncall    GameManager__GameManager                                       ; +0x22, 0x1402c7e32\nnop                                                                    ; +0x27, 0x1402c7e37\nmov     cs:qword_14090BFD0, rax                                        ; +0x28, 0x1402c7e38\nmov     rcx, [rax]                                                     ; +0x2f, 0x1402c7e3f\nmov     rdx, [rcx+48h]                                                 ; +0x32, 0x1402c7e42\nmov     rcx, rax                                                       ; +0x36, 0x1402c7e46\ncall    rdx                                                            ; +0x39, 0x1402c7e49\nmov     rcx, cs:qword_14090BFD0                                        ; +0x3b, 0x1402c7e4b\ncmp     qword ptr [rcx+230h], 0                                        ; +0x42, 0x1402c7e52\njnz     short loc_1402C7E6F                                            ; +0x4a, 0x1402c7e5a\ncmp     qword ptr [rcx+238h], 0                                        ; +0x4c, 0x1402c7e5c\njnz     short loc_1402C7E6F                                            ; +0x54, 0x1402c7e64\nadd     rsp, 28h                                                       ; +0x56, 0x1402c7e66\njmp     GameManager__fadeInMenuMusic                                   ; +0x5a, 0x1402c7e6a\nadd     rsp, 28h                                                       ; +0x5f, 0x1402c7e6f\nretn                                                                   ; +0x63, 0x1402c7e73", "xrefs": ["<???> @ 0x140765d78", "<???> @ 0x14091dc0c"], "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"}