{"type": "func", "start": 4299049920, "end": 4299050011, "name": "FMODAudioEngine::channelLinkSound", "pseudocode": "// \n// FMODAudioEngine::channelLinkSound from 0x1003e4bc0 to 0x1003e4c1b (91 bytes)\n// \n// 0 xrefs:\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 FMODAudioEngine::channelLinkSound(FMODAudioEngine *a1, int a2, FMODSound *a3)\n{\n  int v3; // eax\n  std::string *p_m_filePath; // rbx\n  char *v5; // rax\n  int *v6; // [rsp+8h] [rbp-18h] BYREF\n  int v7; // [rsp+10h] [rbp-10h] BYREF\n\n  v7 = a2;\n  ++a3->m_playCount;\n  v3 = dword_1009A1488++;\n  a3->m_playIndex = v3;\n  p_m_filePath = &a3->m_filePath;\n  v6 = &v7;\n  v5 = sub_100172F30((float *)&a1->m_channelIDToSoundPath, &v7, (__int64)&unk_10081B0A2, &v6);\n  std::string::operator=((std::string *)v5 + 1, (const std::string *)p_m_filePath);\n}", "assembly": "; \n; FMODAudioEngine::channelLinkSound from 0x1003e4bc0 to 0x1003e4c1b (91 bytes)\n; \n; 0 xrefs:\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, 0x1003e4bc0\nmov     rbp, rsp                                                       ; +0x1, 0x1003e4bc1\npush    rbx                                                            ; +0x4, 0x1003e4bc4\nsub     rsp, 18h                                                       ; +0x5, 0x1003e4bc5\nmov     [rbp+var_10], esi                                              ; +0x9, 0x1003e4bc9\ninc     dword ptr [rdx+24h]                                            ; +0xc, 0x1003e4bcc\nmov     eax, cs:dword_1009A1488                                        ; +0xf, 0x1003e4bcf\nlea     ecx, [rax+1]                                                   ; +0x15, 0x1003e4bd5\nmov     cs:dword_1009A1488, ecx                                        ; +0x18, 0x1003e4bd8\nmov     [rdx+28h], eax                                                 ; +0x1e, 0x1003e4bde\nlea     rbx, [rdx+8]                                                   ; +0x21, 0x1003e4be1\nadd     rdi, 570h                                                      ; +0x25, 0x1003e4be5\nlea     rsi, [rbp+var_10]                                              ; +0x2c, 0x1003e4bec\nmov     [rbp+var_18], rsi                                              ; +0x30, 0x1003e4bf0\nlea     rdx, unk_10081B0A2                                             ; +0x34, 0x1003e4bf4\nlea     rcx, [rbp+var_18]                                              ; +0x3b, 0x1003e4bfb\nlea     r8, [rbp+var_9]                                                ; +0x3f, 0x1003e4bff\ncall    sub_100172F30                                                  ; +0x43, 0x1003e4c03\nlea     rdi, [rax+18h]; this                                           ; +0x48, 0x1003e4c08\nmov     rsi, rbx; __str                                                ; +0x4c, 0x1003e4c0c\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x4f, 0x1003e4c0f\nadd     rsp, 18h                                                       ; +0x54, 0x1003e4c14\npop     rbx                                                            ; +0x58, 0x1003e4c18\npop     rbp                                                            ; +0x59, 0x1003e4c19\nretn                                                                   ; +0x5a, 0x1003e4c1a", "xrefs": [], "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"}