{"type": "func", "start": 5369971488, "end": 5369971634, "name": "CreateGuidelinesLayer::playMusic", "pseudocode": "// \n// CreateGuidelinesLayer::playMusic from 0x140134320 to 0x1401343b2 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140736ac8\n// > <???> @ 0x140916ff4\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:27:04 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall CreateGuidelinesLayer::playMusic(__int64 a1)\n{\n  __int64 v2; // rdi\n  _QWORD *v3; // rcx\n  _BYTE v4[40]; // [rsp+20h] [rbp-28h] BYREF\n  void *v5; // [rsp+58h] [rbp+10h]\n\n  v2 = (*(__int64 (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 672) + 16LL))(*(_QWORD *)(a1 + 672), v4);\n  v3 = (_QWORD *)qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v5 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v3 = (_QWORD *)qword_14090BF60;\n  }\n  FMODAudioEngine::loadAndPlayMusic(v3, v2, (int)(float)(*(float *)(a1 + 720) * 1000.0));\n}", "assembly": "; \n; CreateGuidelinesLayer::playMusic from 0x140134320 to 0x1401343b2 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140736ac8\n; > <???> @ 0x140916ff4\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:27:04 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140134320\npush    rdi                                                            ; +0x5, 0x140134325\nsub     rsp, 40h                                                       ; +0x6, 0x140134326\nmov     rbx, rcx                                                       ; +0xa, 0x14013432a\nlea     rax, [rsp+48h+var_28]                                          ; +0xd, 0x14013432d\nmov     [rsp+48h+arg_0], rax                                           ; +0x12, 0x140134332\nmov     rcx, [rcx+2A0h]                                                ; +0x17, 0x140134337\nmov     rax, [rcx]                                                     ; +0x1e, 0x14013433e\nlea     rdx, [rsp+48h+var_28]                                          ; +0x21, 0x140134341\ncall    qword ptr [rax+10h]                                            ; +0x26, 0x140134346\nmov     rdi, rax                                                       ; +0x29, 0x140134349\nmov     rcx, cs:qword_14090BF60                                        ; +0x2c, 0x14013434c\ntest    rcx, rcx                                                       ; +0x33, 0x140134353\njnz     short loc_14013438A                                            ; +0x36, 0x140134356\nmov     ecx, 8A8h; Size                                                ; +0x38, 0x140134358\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3d, 0x14013435d\nmov     [rsp+48h+arg_8], rax                                           ; +0x42, 0x140134362\nmov     rcx, rax                                                       ; +0x47, 0x140134367\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x4a, 0x14013436a\nnop                                                                    ; +0x4f, 0x14013436f\nmov     cs:qword_14090BF60, rax                                        ; +0x50, 0x140134370\nmov     rcx, [rax]                                                     ; +0x57, 0x140134377\nmov     rdx, [rcx+48h]                                                 ; +0x5a, 0x14013437a\nmov     rcx, rax                                                       ; +0x5e, 0x14013437e\ncall    rdx                                                            ; +0x61, 0x140134381\nmov     rcx, cs:qword_14090BF60                                        ; +0x63, 0x140134383\nmovss   xmm0, dword ptr [rbx+2D0h]                                     ; +0x6a, 0x14013438a\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x72, 0x140134392\ncvttss2si r8, xmm0                                                     ; +0x7a, 0x14013439a\nmov     rdx, rdi                                                       ; +0x7f, 0x14013439f\ncall    FMODAudioEngine__loadAndPlayMusic                              ; +0x82, 0x1401343a2\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x87, 0x1401343a7\nadd     rsp, 40h                                                       ; +0x8c, 0x1401343ac\npop     rdi                                                            ; +0x90, 0x1401343b0\nretn                                                                   ; +0x91, 0x1401343b1", "xrefs": ["<???> @ 0x140736ac8", "<???> @ 0x140916ff4"], "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"}