{"type": "func", "start": 361616, "end": 361660, "name": "sub_58490", "pseudocode": "// \n// sub_58490 from 0x58490 to 0x584bc (44 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setDriver @ 0xb7238\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:47 +0000\n// \n\nint __fastcall sub_58490(int a1, int a2, int a3, int a4)\n{\n  int result; // r0\n\n  result = sub_61228(a1, a2, a3, a4);\n  if ( !result )\n    return sub_58398(a1, *(_DWORD *)(a1 + 1124), nullptr, 0, (_DWORD *)(a1 + 68852), nullptr, nullptr, nullptr);\n  return result;\n}", "assembly": "; \n; sub_58490 from 0x58490 to 0x584bc (44 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setDriver @ 0xb7238\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:47 +0000\n; \nPUSH            {R0-R4,R6,R7,LR}                                       ; +0x0, 0x58490\nADD             R7, SP, #0x18                                          ; +0x2, 0x58492\nMOV             R4, R0                                                 ; +0x4, 0x58494\nBL              sub_61228                                              ; +0x6, 0x58496\nCBNZ            R0, loc_584B8                                          ; +0xa, 0x5849a\nMOVS            R0, #0                                                 ; +0xc, 0x5849c\nLDR.W           R1, [R4,#0x464]                                        ; +0xe, 0x5849e\nSTR             R0, [SP,#0x10+var_4]                                   ; +0x12, 0x584a2\nMOVS            R2, #0                                                 ; +0x14, 0x584a4\nSTRD.W          R0, R0, [SP,#0x10+var_C]                               ; +0x16, 0x584a6\nMOVS            R3, #0                                                 ; +0x1a, 0x584aa\nLDR             R0, =0x10CF4                                           ; +0x1c, 0x584ac\nADD             R0, R4                                                 ; +0x1e, 0x584ae\nSTR             R0, [SP,#0x10+var_10]                                  ; +0x20, 0x584b0\nMOV             R0, R4                                                 ; +0x22, 0x584b2\nBL              sub_58398                                              ; +0x24, 0x584b4\nADD             SP, SP, #0x10                                          ; +0x28, 0x584b8\nPOP             {R4,R6,R7,PC}                                          ; +0x2a, 0x584ba", "xrefs": ["FMOD::System::setDriver @ 0xb7238"], "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"}