{"type": "func", "start": 5369123024, "end": 5369123117, "name": "FMODAudioEngine::getMusicTimeMS", "pseudocode": "// \n// FMODAudioEngine::getMusicTimeMS from 0x1400650d0 to 0x14006512d (93 bytes)\n// \n// 4 xrefs:\n// > DrawGridLayer::update @ 0x14040a820\n// > MusicBrowser::update @ 0x14047bc3d\n// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f3851\n// > <???> @ 0x140910d54\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:25:45 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::getMusicTimeMS(_QWORD *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  int v5; // [rsp+20h] [rbp-28h] BYREF\n  _BYTE v6[32]; // [rsp+28h] [rbp-20h] BYREF\n  unsigned int v7; // [rsp+58h] [rbp+10h] BYREF\n\n  v5 = 0;\n  v7 = 0;\n  v2 = sub_140068620(a1 + 40, v6, &v5);\n  v3 = FMODAudioEngine::channelForChannelID(a1, *(_DWORD *)(*(_QWORD *)v2 + 24LL));\n  if ( v3 )\n    FMOD::Channel::getPosition(v3, &v7, 1);\n  return v7;\n}", "assembly": "; \n; FMODAudioEngine::getMusicTimeMS from 0x1400650d0 to 0x14006512d (93 bytes)\n; \n; 4 xrefs:\n; > DrawGridLayer::update @ 0x14040a820\n; > MusicBrowser::update @ 0x14047bc3d\n; > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f3851\n; > <???> @ 0x140910d54\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:25:45 +0000\n; \nmov     [rsp+arg_8], edx                                               ; +0x0, 0x1400650d0\npush    rbx                                                            ; +0x4, 0x1400650d4\nsub     rsp, 40h                                                       ; +0x5, 0x1400650d5\nxor     eax, eax                                                       ; +0x9, 0x1400650d9\nlea     r8, [rsp+48h+var_28]                                           ; +0xb, 0x1400650db\nmov     rbx, rcx                                                       ; +0x10, 0x1400650e0\nmov     [rsp+48h+var_28], eax                                          ; +0x13, 0x1400650e3\nadd     rcx, 140h                                                      ; +0x17, 0x1400650e7\nmov     [rsp+48h+arg_8], eax                                           ; +0x1e, 0x1400650ee\nlea     rdx, [rsp+48h+var_20]                                          ; +0x22, 0x1400650f2\ncall    sub_140068620                                                  ; +0x27, 0x1400650f7\nmov     rcx, rbx                                                       ; +0x2c, 0x1400650fc\nmov     rdx, [rax]                                                     ; +0x2f, 0x1400650ff\nmov     edx, [rdx+18h]                                                 ; +0x32, 0x140065102\ncall    FMODAudioEngine__channelForChannelID                           ; +0x35, 0x140065105\ntest    rax, rax                                                       ; +0x3a, 0x14006510a\njz      short loc_140065123                                            ; +0x3d, 0x14006510d\nmov     r8d, 1                                                         ; +0x3f, 0x14006510f\nlea     rdx, [rsp+48h+arg_8]                                           ; +0x45, 0x140065115\nmov     rcx, rax                                                       ; +0x4a, 0x14006511a\ncall    cs:?getPosition@Channel@FMOD@@QEAA?AW4FMOD_RESULT@@PEAII@Z; FMOD::Channel::getPosition(uint *,uint) ; +0x4d, 0x14006511d\nmov     eax, [rsp+48h+arg_8]                                           ; +0x53, 0x140065123\nadd     rsp, 40h                                                       ; +0x57, 0x140065127\npop     rbx                                                            ; +0x5b, 0x14006512b\nretn                                                                   ; +0x5c, 0x14006512c", "xrefs": ["DrawGridLayer::update @ 0x14040a820", "MusicBrowser::update @ 0x14047bc3d", "SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f3851", "<???> @ 0x140910d54"], "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"}