{"type": "func", "start": 362508, "end": 362548, "name": "sub_5880C", "pseudocode": "// \n// sub_5880C from 0x5880c to 0x58834 (40 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::unloadPlugin @ 0xb7d08\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_5880C(int a1, int a2)\n{\n  int result; // r0\n\n  if ( *(_BYTE *)(a1 + 5) )\n    return sub_50EB0(*(_DWORD *)(a1 + 68272), a2, 0);\n  result = sub_56BEC(a1);\n  if ( !result )\n    return sub_50EB0(*(_DWORD *)(a1 + 68272), a2, 0);\n  return result;\n}", "assembly": "; \n; sub_5880C from 0x5880c to 0x58834 (40 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::unloadPlugin @ 0xb7d08\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,R5,R7,LR}                                          ; +0x0, 0x5880c\nADD             R7, SP, #8                                             ; +0x2, 0x5880e\nMOV             R5, R0                                                 ; +0x4, 0x58810\nLDRB            R0, [R0,#5]                                            ; +0x6, 0x58812\nMOV             R4, R1                                                 ; +0x8, 0x58814\nCBZ             R0, loc_58828                                          ; +0xa, 0x58816\nLDR             R0, =0x10AB0                                           ; +0xc, 0x58818\nMOV             R1, R4                                                 ; +0xe, 0x5881a\nMOVS            R2, #0                                                 ; +0x10, 0x5881c\nLDR             R0, [R5,R0]                                            ; +0x12, 0x5881e\nPOP.W           {R4,R5,R7,LR}                                          ; +0x14, 0x58820\nB.W             sub_50EB0                                              ; +0x18, 0x58824\nMOV             R0, R5                                                 ; +0x1c, 0x58828\nBL              sub_56BEC                                              ; +0x1e, 0x5882a\nCMP             R0, #0                                                 ; +0x22, 0x5882e\nBEQ             loc_58818                                              ; +0x24, 0x58830\nPOP             {R4,R5,R7,PC}                                          ; +0x26, 0x58832", "xrefs": ["FMOD::System::unloadPlugin @ 0xb7d08"], "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"}