{"type": "func", "start": 361680, "end": 361704, "name": "sub_584D0", "pseudocode": "// \n// sub_584D0 from 0x584d0 to 0x584e8 (24 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setSoftwareChannels @ 0xb7328\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_584D0(int a1, int a2)\n{\n  if ( a2 < 0 )\n    return 31;\n  if ( *(_BYTE *)(a1 + 4) )\n    return 27;\n  *(_DWORD *)(a1 + 68836) = a2;\n  return 0;\n}", "assembly": "; \n; sub_584D0 from 0x584d0 to 0x584e8 (24 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setSoftwareChannels @ 0xb7328\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\nCMP             R1, #0                                                 ; +0x0, 0x584d0\nBMI             loc_584DC                                              ; +0x2, 0x584d2\nLDRB            R2, [R0,#4]                                            ; +0x4, 0x584d4\nCBZ             R2, loc_584E0                                          ; +0x6, 0x584d6\nMOVS            R0, #0x1B                                              ; +0x8, 0x584d8\nBX              LR                                                     ; +0xa, 0x584da\nMOVS            R0, #0x1F                                              ; +0xc, 0x584dc\nBX              LR                                                     ; +0xe, 0x584de\nLDR             R2, =0x10CE4                                           ; +0x10, 0x584e0\nSTR             R1, [R0,R2]                                            ; +0x12, 0x584e2\nMOVS            R0, #0                                                 ; +0x14, 0x584e4\nBX              LR                                                     ; +0x16, 0x584e6", "xrefs": ["FMOD::System::setSoftwareChannels @ 0xb7328"], "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"}