{"type": "func", "start": 5372777552, "end": 5372777703, "name": "LevelAreaInnerLayer::tryResumeTowerMusic", "pseudocode": "// \n// LevelAreaInnerLayer::tryResumeTowerMusic from 0x1403e1450 to 0x1403e14e7 (151 bytes)\n// \n// 2 xrefs:\n// > LevelAreaInnerLayer::init @ 0x1403e04e1\n// > <???> @ 0x140924e00\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:31:41 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall LevelAreaInnerLayer::tryResumeTowerMusic(__int64 a1)\n{\n  _DWORD v1[4]; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v2; // [rsp+30h] [rbp-18h]\n  __int64 v3; // [rsp+38h] [rbp-10h]\n  void *v4; // [rsp+60h] [rbp+18h]\n\n  v1[3] = 0;\n  v2 = 11;\n  v3 = 15;\n  strcpy((char *)v1, \"tower01.mp3\");\n  if ( !qword_14090BFD0 )\n  {\n    v4 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  GameManager::fadeInMusic(a1, (__int64)v1);\n}", "assembly": "; \n; LevelAreaInnerLayer::tryResumeTowerMusic from 0x1403e1450 to 0x1403e14e7 (151 bytes)\n; \n; 2 xrefs:\n; > LevelAreaInnerLayer::init @ 0x1403e04e1\n; > <???> @ 0x140924e00\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:31:41 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x1403e1450\nlea     rax, [rsp+48h+var_28]                                          ; +0x4, 0x1403e1454\nmov     [rsp+48h+arg_8], rax                                           ; +0x9, 0x1403e1459\nmov     dword ptr [rsp+48h+var_28+0Ch], 0                              ; +0xe, 0x1403e145e\nmov     [rsp+48h+var_18], 0Bh                                          ; +0x16, 0x1403e1466\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x1f, 0x1403e146f\nmovsd   xmm0, cs:qword_140787960                                       ; +0x28, 0x1403e1478\nmovsd   qword ptr [rsp+48h+var_28], xmm0                               ; +0x30, 0x1403e1480\nmovzx   eax, cs:word_140787968                                         ; +0x36, 0x1403e1486\nmov     word ptr [rsp+48h+var_28+8], ax                                ; +0x3d, 0x1403e148d\nmovzx   eax, cs:byte_14078796A                                         ; +0x42, 0x1403e1492\nmov     [rsp+48h+var_28+0Ah], al                                       ; +0x49, 0x1403e1499\nmov     [rsp+48h+var_28+0Bh], 0                                        ; +0x4d, 0x1403e149d\ncmp     cs:qword_14090BFD0, 0                                          ; +0x52, 0x1403e14a2\njnz     short loc_1403E14D8                                            ; +0x5a, 0x1403e14aa\nmov     ecx, 6E8h; Size                                                ; +0x5c, 0x1403e14ac\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x61, 0x1403e14b1\nmov     [rsp+48h+arg_10], rax                                          ; +0x66, 0x1403e14b6\nmov     rcx, rax                                                       ; +0x6b, 0x1403e14bb\ncall    GameManager__GameManager                                       ; +0x6e, 0x1403e14be\nnop                                                                    ; +0x73, 0x1403e14c3\nmov     cs:qword_14090BFD0, rax                                        ; +0x74, 0x1403e14c4\nmov     rcx, [rax]                                                     ; +0x7b, 0x1403e14cb\nmov     rdx, [rcx+48h]                                                 ; +0x7e, 0x1403e14ce\nmov     rcx, rax                                                       ; +0x82, 0x1403e14d2\ncall    rdx                                                            ; +0x85, 0x1403e14d5\nnop                                                                    ; +0x87, 0x1403e14d7\nlea     rdx, [rsp+48h+var_28]                                          ; +0x88, 0x1403e14d8\ncall    GameManager__fadeInMusic                                       ; +0x8d, 0x1403e14dd\nadd     rsp, 48h                                                       ; +0x92, 0x1403e14e2\nretn                                                                   ; +0x96, 0x1403e14e6", "xrefs": ["LevelAreaInnerLayer::init @ 0x1403e04e1", "<???> @ 0x140924e00"], "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"}