{"type": "func", "start": 368250, "end": 368284, "name": "sub_59E7A", "pseudocode": "// \n// sub_59E7A from 0x59e7a to 0x59e9c (34 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getChannelsPlaying @ 0xb924e\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:40:48 +0000\n// \n\nint __fastcall sub_59E7A(int a1, _DWORD *a2, _DWORD *a3)\n{\n  int result; // r0\n\n  if ( a2 )\n    *a2 = *(_DWORD *)(a1 + 300);\n  if ( !a3 )\n    return 0;\n  result = sub_4CA42(*(_DWORD *)(*(_DWORD *)(a1 + 1172) + 32), a3);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_59E7A from 0x59e7a to 0x59e9c (34 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getChannelsPlaying @ 0xb924e\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:40:48 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0x59e7a\nMOV             R7, SP                                                 ; +0x2, 0x59e7c\nCBZ             R1, loc_59E86                                          ; +0x4, 0x59e7e\nLDR.W           R3, [R0,#0x12C]                                        ; +0x6, 0x59e80\nSTR             R3, [R1]                                               ; +0xa, 0x59e84\nCBZ             R2, loc_59E98                                          ; +0xc, 0x59e86\nLDR.W           R0, [R0,#0x494]                                        ; +0xe, 0x59e88\nMOV             R1, R2                                                 ; +0x12, 0x59e8c\nLDR             R0, [R0,#0x20]                                         ; +0x14, 0x59e8e\nBL              sub_4CA42                                              ; +0x16, 0x59e90\nCBZ             R0, loc_59E98                                          ; +0x1a, 0x59e94\nPOP             {R7,PC}                                                ; +0x1c, 0x59e96\nMOVS            R0, #0                                                 ; +0x1e, 0x59e98\nPOP             {R7,PC}                                                ; +0x20, 0x59e9a", "xrefs": ["FMOD::System::getChannelsPlaying @ 0xb924e"], "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"}