{"type": "func", "start": 4118368, "end": 4118416, "name": "FMODAudioEngine::channelLinkSound", "pseudocode": "// \n// FMODAudioEngine::channelLinkSound from 0x3ed760 to 0x3ed790 (48 bytes)\n// \n// 1 xrefs:\n// > FMODAudioEngine::playEffectAdvanced @ 0x3f102a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:10 +0000\n// \n\nunsigned __int8 *__fastcall FMODAudioEngine::channelLinkSound(int a1, unsigned int a2, unsigned int a3)\n{\n  int v4; // r2\n  int v5; // r2\n  unsigned __int8 *v6; // r0\n  unsigned int v8[2]; // [sp+4h] [bp-8h] BYREF\n\n  v8[0] = a2;\n  v8[1] = a3;\n  v4 = *(_DWORD *)(a3 + 20);\n  v8[0] = a2;\n  *(_DWORD *)(a3 + 20) = v4 + 1;\n  v5 = dword_D2B4B8++;\n  *(_DWORD *)(a3 + 24) = v5;\n  v6 = (unsigned __int8 *)std::unordered_map<int,std::string>::operator[](a1 + 852, v8);\n  return std::string::operator=(v6, (unsigned __int8 *)(a3 + 4));\n}", "assembly": "; \n; FMODAudioEngine::channelLinkSound from 0x3ed760 to 0x3ed790 (48 bytes)\n; \n; 1 xrefs:\n; > FMODAudioEngine::playEffectAdvanced @ 0x3f102a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:10 +0000\n; \nPUSH            {R0-R2,R4,R5,LR}                                       ; +0x0, 0x3ed760\nADD             R3, SP, #0xC+var_4                                     ; +0x2, 0x3ed762\nMOV             R4, R2                                                 ; +0x4, 0x3ed764\nLDR             R2, [R2,#0x14]                                         ; +0x6, 0x3ed766\nSTR.W           R1, [R3,#-4]!                                          ; +0x8, 0x3ed768\nADD.W           R0, R0, #0x354                                         ; +0xc, 0x3ed76c\nLDR             R1, =(dword_D2B4B4 - 0x3ED77A)                         ; +0x10, 0x3ed770\nADDS            R2, #1                                                 ; +0x12, 0x3ed772\nSTR             R2, [R4,#0x14]                                         ; +0x14, 0x3ed774\nADD             R1, PC; dword_D2B4B4                                   ; +0x16, 0x3ed776\nLDR             R2, [R1,#(dword_D2B4B8 - 0xD2B4B4)]                    ; +0x18, 0x3ed778\nADDS            R5, R2, #1                                             ; +0x1a, 0x3ed77a\nSTR             R5, [R1,#(dword_D2B4B8 - 0xD2B4B4)]                    ; +0x1c, 0x3ed77c\nSTR             R2, [R4,#0x18]                                         ; +0x1e, 0x3ed77e\nMOV             R1, R3                                                 ; +0x20, 0x3ed780\nBL              _ZNSt6__ndk113unordered_mapIiNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4hashIiEENS_8equal_toIiEENS4_INS_4pairIKiS6_EEEEEixERSC_; std::unordered_map<int,std::string>::operator[](int const&) ; +0x22, 0x3ed782\nADDS            R1, R4, #4                                             ; +0x26, 0x3ed786\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x28, 0x3ed788\nADD             SP, SP, #0xC                                           ; +0x2c, 0x3ed78c\nPOP             {R4,R5,PC}                                             ; +0x2e, 0x3ed78e", "xrefs": ["FMODAudioEngine::playEffectAdvanced @ 0x3f102a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}