{"type": "func", "start": 362704, "end": 362762, "name": "sub_588D0", "pseudocode": "// \n// sub_588D0 from 0x588d0 to 0x5890a (58 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getNestedPlugin @ 0xb7e40\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_588D0(int a1, int a2, int a3, int *a4)\n{\n  int result; // r0\n\n  if ( *(_BYTE *)(a1 + 5) )\n    return sub_51B12(*(_DWORD *)(a1 + 68272), a2, a3, a4);\n  result = sub_56BEC(a1);\n  if ( !result )\n    return sub_51B12(*(_DWORD *)(a1 + 68272), a2, a3, a4);\n  return result;\n}", "assembly": "; \n; sub_588D0 from 0x588d0 to 0x5890a (58 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getNestedPlugin @ 0xb7e40\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            {R4-R7,LR}                                             ; +0x0, 0x588d0\nADD             R7, SP, #0xC                                           ; +0x2, 0x588d2\nPUSH.W          {R8}                                                   ; +0x4, 0x588d4\nMOV             R4, R0                                                 ; +0x8, 0x588d8\nLDRB            R0, [R0,#5]                                            ; +0xa, 0x588da\nMOV             R8, R3                                                 ; +0xc, 0x588dc\nMOV             R5, R2                                                 ; +0xe, 0x588de\nMOV             R6, R1                                                 ; +0x10, 0x588e0\nCBZ             R0, loc_588FA                                          ; +0x12, 0x588e2\nLDR             R0, =0x10AB0                                           ; +0x14, 0x588e4\nMOV             R1, R6                                                 ; +0x16, 0x588e6\nMOV             R2, R5                                                 ; +0x18, 0x588e8\nMOV             R3, R8                                                 ; +0x1a, 0x588ea\nLDR             R0, [R4,R0]                                            ; +0x1c, 0x588ec\nPOP.W           {R8}                                                   ; +0x1e, 0x588ee\nPOP.W           {R4-R7,LR}                                             ; +0x22, 0x588f2\nB.W             sub_51B12                                              ; +0x26, 0x588f6\nMOV             R0, R4                                                 ; +0x2a, 0x588fa\nBL              sub_56BEC                                              ; +0x2c, 0x588fc\nCMP             R0, #0                                                 ; +0x30, 0x58900\nBEQ             loc_588E4                                              ; +0x32, 0x58902\nPOP.W           {R8}                                                   ; +0x34, 0x58904\nPOP             {R4-R7,PC}                                             ; +0x38, 0x58908", "xrefs": ["FMOD::System::getNestedPlugin @ 0xb7e40"], "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"}