{"type": "func", "start": 752868, "end": 752980, "name": "FMOD::System::unloadPlugin", "pseudocode": "// \n// FMOD::System::unloadPlugin from 0xb7ce4 to 0xb7d54 (112 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::unloadPlugin @ 0xe0008\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:41:44 +0000\n// \n\nint __fastcall FMOD::System::unloadPlugin(FMOD::System *this, unsigned int a2)\n{\n  int v4; // r4\n  _BYTE v6[256]; // [sp+8h] [bp-118h] BYREF\n  int v7; // [sp+108h] [bp-18h] BYREF\n  int v8; // [sp+10Ch] [bp-14h] BYREF\n\n  v7 = 0;\n  v4 = FMOD::SystemI::validate((int)this, &v8, &v7);\n  if ( v4 || (v4 = sub_5880C(v8, a2)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_5C8F4(v6, 256, a2);\n      sub_BAB40(v4, 1, this, \"System::unloadPlugin\", v6);\n    }\n  }\n  else\n  {\n    v4 = 0;\n  }\n  sub_444C0(&v7);\n  return v4;\n}", "assembly": "; \n; FMOD::System::unloadPlugin from 0xb7ce4 to 0xb7d54 (112 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::unloadPlugin @ 0xe0008\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:41:44 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb7ce4\nADD             R7, SP, #0xC                                           ; +0x2, 0xb7ce6\nPUSH.W          {R8}                                                   ; +0x4, 0xb7ce8\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb7cec\nMOV             R6, R1                                                 ; +0xa, 0xb7cee\nMOV             R5, R0                                                 ; +0xc, 0xb7cf0\nMOVS            R0, #0                                                 ; +0xe, 0xb7cf2\nADD             R1, SP, #0x110+var_4                                   ; +0x10, 0xb7cf4\nADD             R2, SP, #0x110+var_8                                   ; +0x12, 0xb7cf6\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x14, 0xb7cf8\nMOV             R0, R5                                                 ; +0x16, 0xb7cfa\nBLX             j__ZN4FMOD7SystemI8validateEPNS_6SystemEPPS0_PNS_15SystemLockScopeE; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI**,FMOD::SystemLockScope *) ; +0x18, 0xb7cfc\nMOV             R4, R0                                                 ; +0x1c, 0xb7d00\nCBNZ            R0, loc_B7D10                                          ; +0x1e, 0xb7d02\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x20, 0xb7d04\nMOV             R1, R6                                                 ; +0x22, 0xb7d06\nBL              sub_5880C                                              ; +0x24, 0xb7d08\nMOV             R4, R0                                                 ; +0x28, 0xb7d0c\nCBZ             R0, loc_B7D42                                          ; +0x2a, 0xb7d0e\nLDR             R0, =(off_E6144 - 0xB7D16)                             ; +0x2c, 0xb7d10\nADD             R0, PC; off_E6144                                      ; +0x2e, 0xb7d12\nLDR             R0, [R0]; off_E8000                                    ; +0x30, 0xb7d14\nLDR             R0, [R0]; dword_F2488                                  ; +0x32, 0xb7d16\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x34, 0xb7d18\nLSLS            R0, R0, #0x18                                          ; +0x36, 0xb7d1a\nBPL             loc_B7D44                                              ; +0x38, 0xb7d1c\nADD.W           R8, SP, #0x110+var_108                                 ; +0x3a, 0xb7d1e\nMOV.W           R1, #0x100                                             ; +0x3e, 0xb7d22\nMOV             R2, R6                                                 ; +0x42, 0xb7d26\nMOV             R0, R8                                                 ; +0x44, 0xb7d28\nBL              sub_5C8F4                                              ; +0x46, 0xb7d2a\nSTR.W           R8, [SP,#0x110+var_110]                                ; +0x4a, 0xb7d2e\nMOV             R0, R4                                                 ; +0x4e, 0xb7d32\nLDR             R3, =(aSystemUnloadpl - 0xB7D3E); \"System::unloadPlugin\" ... ; +0x50, 0xb7d34\nMOVS            R1, #1                                                 ; +0x52, 0xb7d36\nMOV             R2, R5                                                 ; +0x54, 0xb7d38\nADD             R3, PC; \"System::unloadPlugin\"                         ; +0x56, 0xb7d3a\nBL              sub_BAB40                                              ; +0x58, 0xb7d3c\nB               loc_B7D44                                              ; +0x5c, 0xb7d40\nMOVS            R4, #0                                                 ; +0x5e, 0xb7d42\nADD             R0, SP, #0x110+var_8                                   ; +0x60, 0xb7d44\nBL              sub_444C0                                              ; +0x62, 0xb7d46\nMOV             R0, R4                                                 ; +0x66, 0xb7d4a\nADD             SP, SP, #0x110                                         ; +0x68, 0xb7d4c\nPOP.W           {R8}                                                   ; +0x6a, 0xb7d4e\nPOP             {R4-R7,PC}                                             ; +0x6e, 0xb7d52", "xrefs": ["FMOD::System::unloadPlugin @ 0xe0008"], "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"}