; ; FMOD::System::getNumPlugins from 0xb7ee8 to 0xb7f5e (118 bytes) ; ; 1 xrefs: ; > FMOD::System::getNumPlugins @ 0xe0038 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:41:44 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb7ee8 ADD R7, SP, #0xC ; +0x2, 0xb7eea PUSH.W {R8,R9,R11} ; +0x4, 0xb7eec SUB SP, SP, #0x110 ; +0x8, 0xb7ef0 MOV R8, R2 ; +0xa, 0xb7ef2 MOV R6, R1 ; +0xc, 0xb7ef4 MOV R4, R0 ; +0xe, 0xb7ef6 MOVS R0, #0 ; +0x10, 0xb7ef8 ADD R1, SP, #0x110+var_4 ; +0x12, 0xb7efa ADD R2, SP, #0x110+var_8 ; +0x14, 0xb7efc STR R0, [SP,#0x110+var_8] ; +0x16, 0xb7efe MOV R0, R4 ; +0x18, 0xb7f00 BLX j__ZN4FMOD7SystemI8validateEPNS_6SystemEPPS0_PNS_15SystemLockScopeE; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI**,FMOD::SystemLockScope *) ; +0x1a, 0xb7f02 MOV R5, R0 ; +0x1e, 0xb7f06 CBNZ R0, loc_B7F18 ; +0x20, 0xb7f08 LDR R0, [SP,#0x110+var_4] ; +0x22, 0xb7f0a MOV R1, R6 ; +0x24, 0xb7f0c MOV R2, R8 ; +0x26, 0xb7f0e BL sub_58838 ; +0x28, 0xb7f10 MOV R5, R0 ; +0x2c, 0xb7f14 CBZ R0, loc_B7F4C ; +0x2e, 0xb7f16 LDR R0, =(off_E6144 - 0xB7F1E) ; +0x30, 0xb7f18 ADD R0, PC; off_E6144 ; +0x32, 0xb7f1a LDR R0, [R0]; off_E8000 ; +0x34, 0xb7f1c LDR R0, [R0]; dword_F2488 ; +0x36, 0xb7f1e LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x38, 0xb7f20 LSLS R0, R0, #0x18 ; +0x3a, 0xb7f22 BPL loc_B7F4E ; +0x3c, 0xb7f24 ADD.W R9, SP, #0x110+var_108 ; +0x3e, 0xb7f26 MOV.W R1, #0x100 ; +0x42, 0xb7f2a MOV R2, R6 ; +0x46, 0xb7f2e MOV R3, R8 ; +0x48, 0xb7f30 MOV R0, R9 ; +0x4a, 0xb7f32 BL sub_B7F68 ; +0x4c, 0xb7f34 STR.W R9, [SP,#0x110+var_110] ; +0x50, 0xb7f38 MOV R0, R5 ; +0x54, 0xb7f3c LDR R3, =(aSystemGetnumpl - 0xB7F48); "System::getNumPlugins" ... ; +0x56, 0xb7f3e MOVS R1, #1 ; +0x58, 0xb7f40 MOV R2, R4 ; +0x5a, 0xb7f42 ADD R3, PC; "System::getNumPlugins" ; +0x5c, 0xb7f44 BL sub_BAB40 ; +0x5e, 0xb7f46 B loc_B7F4E ; +0x62, 0xb7f4a MOVS R5, #0 ; +0x64, 0xb7f4c ADD R0, SP, #0x110+var_8 ; +0x66, 0xb7f4e BL sub_444C0 ; +0x68, 0xb7f50 MOV R0, R5 ; +0x6c, 0xb7f54 ADD SP, SP, #0x110 ; +0x6e, 0xb7f56 POP.W {R8,R9,R11} ; +0x70, 0xb7f58 POP {R4-R7,PC} ; +0x74, 0xb7f5c