{"type": "func", "start": 362768, "end": 362818, "name": "sub_58910", "pseudocode": "// \n// sub_58910 from 0x58910 to 0x58942 (50 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getPluginHandle @ 0xb7fcc\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_58910(int a1, int a2, int a3, _DWORD *a4)\n{\n  switch ( a2 )\n  {\n    case 0:\n      return sub_51BB0(*(_DWORD *)(a1 + 68272), a3, a4);\n    case 2:\n      return sub_51B70(*(_DWORD *)(a1 + 68272), a3, a4);\n    case 1:\n      return sub_51B52(*(_DWORD *)(a1 + 68272), a3, a4);\n  }\n  return 31;\n}", "assembly": "; \n; sub_58910 from 0x58910 to 0x58942 (50 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getPluginHandle @ 0xb7fcc\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\nCBZ             R1, loc_5892A                                          ; +0x0, 0x58910\nCMP             R1, #2                                                 ; +0x2, 0x58912\nBEQ             loc_58936                                              ; +0x4, 0x58914\nCMP             R1, #1                                                 ; +0x6, 0x58916\nITT NE                                                                 ; +0x8, 0x58918\nMOVNE           R0, #0x1F                                              ; +0xa, 0x5891a\nBXNE            LR                                                     ; +0xc, 0x5891c\nLDR             R1, =0x10AB0                                           ; +0xe, 0x5891e\nLDR             R0, [R0,R1]                                            ; +0x10, 0x58920\nMOV             R1, R2                                                 ; +0x12, 0x58922\nMOV             R2, R3                                                 ; +0x14, 0x58924\nB.W             sub_51B52                                              ; +0x16, 0x58926\nLDR             R1, =0x10AB0                                           ; +0x1a, 0x5892a\nLDR             R0, [R0,R1]                                            ; +0x1c, 0x5892c\nMOV             R1, R2                                                 ; +0x1e, 0x5892e\nMOV             R2, R3                                                 ; +0x20, 0x58930\nB.W             sub_51BB0                                              ; +0x22, 0x58932\nLDR             R1, =0x10AB0                                           ; +0x26, 0x58936\nLDR             R0, [R0,R1]                                            ; +0x28, 0x58938\nMOV             R1, R2                                                 ; +0x2a, 0x5893a\nMOV             R2, R3                                                 ; +0x2c, 0x5893c\nB.W             sub_51B70                                              ; +0x2e, 0x5893e", "xrefs": ["FMOD::System::getPluginHandle @ 0xb7fcc"], "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"}