{"type": "func", "start": 366680, "end": 366698, "name": "sub_59858", "pseudocode": "// \n// sub_59858 from 0x59858 to 0x5986a (18 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::set3DNumListeners @ 0xb8bfc\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\nint __fastcall sub_59858(int a1, int a2)\n{\n  if ( (unsigned int)(a2 - 1) > 7 )\n    return 31;\n  *(_DWORD *)(a1 + 68252) = a2;\n  return 0;\n}", "assembly": "; \n; sub_59858 from 0x59858 to 0x5986a (18 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::set3DNumListeners @ 0xb8bfc\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\nSUBS            R2, R1, #1                                             ; +0x0, 0x59858\nCMP             R2, #7                                                 ; +0x2, 0x5985a\nITT HI                                                                 ; +0x4, 0x5985c\nMOVHI           R0, #0x1F                                              ; +0x6, 0x5985e\nBXHI            LR                                                     ; +0x8, 0x59860\nLDR             R2, =0x10A9C                                           ; +0xa, 0x59862\nSTR             R1, [R0,R2]                                            ; +0xc, 0x59864\nMOVS            R0, #0                                                 ; +0xe, 0x59866\nBX              LR                                                     ; +0x10, 0x59868", "xrefs": ["FMOD::System::set3DNumListeners @ 0xb8bfc"], "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"}