{"type": "func", "start": 5371625776, "end": 5371625924, "name": "LevelAreaInnerLayer::tryResumeTowerMusic", "pseudocode": "// \n// LevelAreaInnerLayer::tryResumeTowerMusic from 0x1402c8130 to 0x1402c81c4 (148 bytes)\n// \n// 2 xrefs:\n// > LevelAreaInnerLayer::init @ 0x1402c71ac\n// > <???> @ 0x1406d2bac\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\n// Hidden C++ exception states: #wind=2\nvoid LevelAreaInnerLayer::tryResumeTowerMusic(LevelAreaInnerLayer *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_1406C2ED8 )\n  {\n    v4 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n  }\n  GameManager::fadeInMusic((__int64)a1, (__int64)v1);\n}", "assembly": "; \n; LevelAreaInnerLayer::tryResumeTowerMusic from 0x1402c8130 to 0x1402c81c4 (148 bytes)\n; \n; 2 xrefs:\n; > LevelAreaInnerLayer::init @ 0x1402c71ac\n; > <???> @ 0x1406d2bac\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, 48h                                                       ; +0x0, 0x1402c8130\nlea     rax, [rsp+48h+var_28]                                          ; +0x4, 0x1402c8134\nmov     [rsp+48h+arg_8], rax                                           ; +0x9, 0x1402c8139\nmov     dword ptr [rsp+48h+var_28+0Ch], 0                              ; +0xe, 0x1402c813e\nmov     [rsp+48h+var_18], 0Bh                                          ; +0x16, 0x1402c8146\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x1f, 0x1402c814f\nmovsd   xmm0, cs:qword_140583B80                                       ; +0x28, 0x1402c8158\nmovsd   qword ptr [rsp+48h+var_28], xmm0                               ; +0x30, 0x1402c8160\nmovzx   eax, cs:word_140583B88                                         ; +0x36, 0x1402c8166\nmov     word ptr [rsp+48h+var_28+8], ax                                ; +0x3d, 0x1402c816d\nmovzx   eax, cs:byte_140583B8A                                         ; +0x42, 0x1402c8172\nmov     [rsp+48h+var_28+0Ah], al                                       ; +0x49, 0x1402c8179\nmov     [rsp+48h+var_28+0Bh], 0                                        ; +0x4d, 0x1402c817d\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x52, 0x1402c8182\njnz     short loc_1402C81B5                                            ; +0x5a, 0x1402c818a\nmov     ecx, 668h; Size                                                ; +0x5c, 0x1402c818c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x61, 0x1402c8191\nmov     [rsp+48h+arg_10], rax                                          ; +0x66, 0x1402c8196\nmov     rcx, rax                                                       ; +0x6b, 0x1402c819b\ncall    sub_14017AB00                                                  ; +0x6e, 0x1402c819e\nnop                                                                    ; +0x73, 0x1402c81a3\nmov     cs:qword_1406C2ED8, rax                                        ; +0x74, 0x1402c81a4\nmov     rdx, [rax]                                                     ; +0x7b, 0x1402c81ab\nmov     rcx, rax                                                       ; +0x7e, 0x1402c81ae\ncall    qword ptr [rdx+48h]                                            ; +0x81, 0x1402c81b1\nnop                                                                    ; +0x84, 0x1402c81b4\nlea     rdx, [rsp+48h+var_28]                                          ; +0x85, 0x1402c81b5\ncall    GameManager__fadeInMusic                                       ; +0x8a, 0x1402c81ba\nadd     rsp, 48h                                                       ; +0x8f, 0x1402c81bf\nretn                                                                   ; +0x93, 0x1402c81c3", "xrefs": ["LevelAreaInnerLayer::init @ 0x1402c71ac", "<???> @ 0x1406d2bac"], "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"}