{"type": "func", "start": 4300260992, "end": 4300261096, "name": "CreateGuidelinesLayer::playMusic", "pseudocode": "// \n// CreateGuidelinesLayer::playMusic from 0x10050c680 to 0x10050c6e8 (104 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10095c158\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 __fastcall CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *a1)\n{\n  FMODAudioEngine *v1; // r14\n  double v2; // xmm0_8\n  __int128 v3; // [rsp+0h] [rbp-30h] BYREF\n  void *__p; // [rsp+10h] [rbp-20h]\n\n  v1 = FMODAudioEngine::sharedEngine();\n  ((void (__fastcall *)(__int128 *))a1->m_delegate->getSongFileName)(&v3);\n  *(_QWORD *)&v2 = LODWORD(a1->m_elapsed);\n  *(float *)&v2 = *(float *)&v2 * 1000.0;\n  FMODAudioEngine::loadAndPlayMusic(v1, &v3, (int)*(float *)&v2, 0, v2);\n  if ( (v3 & 1) != 0 )\n    operator delete(__p);\n}", "assembly": "; \n; CreateGuidelinesLayer::playMusic from 0x10050c680 to 0x10050c6e8 (104 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10095c158\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\npush    rbp                                                            ; +0x0, 0x10050c680\nmov     rbp, rsp                                                       ; +0x1, 0x10050c681\npush    r15                                                            ; +0x4, 0x10050c684\npush    r14                                                            ; +0x6, 0x10050c686\npush    rbx                                                            ; +0x8, 0x10050c688\nsub     rsp, 18h                                                       ; +0x9, 0x10050c689\nmov     rbx, rdi                                                       ; +0xd, 0x10050c68d\ncall    FMODAudioEngine__sharedEngine                                  ; +0x10, 0x10050c690\nmov     r14, rax                                                       ; +0x15, 0x10050c695\nmov     rsi, [rbx+280h]                                                ; +0x18, 0x10050c698\nmov     rax, [rsi]                                                     ; +0x1f, 0x10050c69f\nlea     r15, [rbp+var_30]                                              ; +0x22, 0x10050c6a2\nmov     rdi, r15                                                       ; +0x26, 0x10050c6a6\ncall    qword ptr [rax+10h]                                            ; +0x29, 0x10050c6a9\nmovss   xmm0, dword ptr [rbx+2B0h]                                     ; +0x2c, 0x10050c6ac\nmulss   xmm0, cs:dword_1008152B8                                       ; +0x34, 0x10050c6b4\ncvttss2si rdx, xmm0                                                    ; +0x3c, 0x10050c6bc\nmov     rdi, r14                                                       ; +0x41, 0x10050c6c1\nmov     rsi, r15                                                       ; +0x44, 0x10050c6c4\nxor     ecx, ecx                                                       ; +0x47, 0x10050c6c7\ncall    FMODAudioEngine__loadAndPlayMusic                              ; +0x49, 0x10050c6c9\ntest    byte ptr [rbp+var_30], 1                                       ; +0x4e, 0x10050c6ce\njz      short loc_10050C6DD                                            ; +0x52, 0x10050c6d2\nmov     rdi, [rbp+__p]; __p                                            ; +0x54, 0x10050c6d4\ncall    __ZdlPv; operator delete(void *)                               ; +0x58, 0x10050c6d8\nadd     rsp, 18h                                                       ; +0x5d, 0x10050c6dd\npop     rbx                                                            ; +0x61, 0x10050c6e1\npop     r14                                                            ; +0x62, 0x10050c6e2\npop     r15                                                            ; +0x64, 0x10050c6e4\npop     rbp                                                            ; +0x66, 0x10050c6e6\nretn                                                                   ; +0x67, 0x10050c6e7", "xrefs": ["<???> @ 0x10095c158"], "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"}