{"type": "func", "start": 5372339552, "end": 5372339624, "name": "MoreOptionsLayer::dropDownLayerWillClose", "pseudocode": "// \n// MoreOptionsLayer::dropDownLayerWillClose from 0x140376560 to 0x1403765a8 (72 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405c4950\n// > <???> @ 0x1406d5bb8\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 MoreOptionsLayer::dropDownLayerWillClose(MoreOptionsLayer *a1, GJDropDownLayer *a2)\n{\n  GameManager *v2; // rcx\n  void *v3; // [rsp+40h] [rbp+18h]\n\n  v2 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v3 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = (GameManager *)qword_1406C2ED8;\n  }\n  GameManager::fadeInMenuMusic(v2);\n}", "assembly": "; \n; MoreOptionsLayer::dropDownLayerWillClose from 0x140376560 to 0x1403765a8 (72 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405c4950\n; > <???> @ 0x1406d5bb8\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\nsub     rsp, 28h                                                       ; +0x0, 0x140376560\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4, 0x140376564\ntest    rcx, rcx                                                       ; +0xb, 0x14037656b\njnz     short loc_14037659F                                            ; +0xe, 0x14037656e\nmov     ecx, 668h; Size                                                ; +0x10, 0x140376570\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x140376575\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x14037657a\nmov     rcx, rax                                                       ; +0x1f, 0x14037657f\ncall    sub_14017AB00                                                  ; +0x22, 0x140376582\nnop                                                                    ; +0x27, 0x140376587\nmov     cs:qword_1406C2ED8, rax                                        ; +0x28, 0x140376588\nmov     rdx, [rax]                                                     ; +0x2f, 0x14037658f\nmov     rcx, rax                                                       ; +0x32, 0x140376592\ncall    qword ptr [rdx+48h]                                            ; +0x35, 0x140376595\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x38, 0x140376598\nadd     rsp, 28h                                                       ; +0x3f, 0x14037659f\njmp     GameManager__fadeInMenuMusic                                   ; +0x43, 0x1403765a3", "xrefs": ["<???> @ 0x1405c4950", "<???> @ 0x1406d5bb8"], "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"}