; ; FMOD::System::setOutput from 0xb6f5c to 0xb6fcc (112 bytes) ; ; 1 xrefs: ; > FMOD::System::setOutput @ 0xdfed8 ; ; 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:43 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb6f5c ADD R7, SP, #0xC ; +0x2, 0xb6f5e PUSH.W {R8} ; +0x4, 0xb6f60 SUB SP, SP, #0x110 ; +0x8, 0xb6f64 MOV R6, R1 ; +0xa, 0xb6f66 MOV R5, R0 ; +0xc, 0xb6f68 MOVS R0, #0 ; +0xe, 0xb6f6a ADD R1, SP, #0x110+var_4 ; +0x10, 0xb6f6c ADD R2, SP, #0x110+var_8 ; +0x12, 0xb6f6e STR R0, [SP,#0x110+var_8] ; +0x14, 0xb6f70 MOV R0, R5 ; +0x16, 0xb6f72 BLX j__ZN4FMOD7SystemI8validateEPNS_6SystemEPPS0_PNS_15SystemLockScopeE; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI**,FMOD::SystemLockScope *) ; +0x18, 0xb6f74 MOV R4, R0 ; +0x1c, 0xb6f78 CBNZ R0, loc_B6F88 ; +0x1e, 0xb6f7a LDR R0, [SP,#0x110+var_4] ; +0x20, 0xb6f7c MOV R1, R6 ; +0x22, 0xb6f7e BL sub_58278 ; +0x24, 0xb6f80 MOV R4, R0 ; +0x28, 0xb6f84 CBZ R0, loc_B6FBA ; +0x2a, 0xb6f86 LDR R0, =(off_E6144 - 0xB6F8E) ; +0x2c, 0xb6f88 ADD R0, PC; off_E6144 ; +0x2e, 0xb6f8a LDR R0, [R0]; off_E8000 ; +0x30, 0xb6f8c LDR R0, [R0]; dword_F2488 ; +0x32, 0xb6f8e LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x34, 0xb6f90 LSLS R0, R0, #0x18 ; +0x36, 0xb6f92 BPL loc_B6FBC ; +0x38, 0xb6f94 ADD.W R8, SP, #0x110+var_108 ; +0x3a, 0xb6f96 MOV.W R1, #0x100 ; +0x3e, 0xb6f9a MOV R2, R6 ; +0x42, 0xb6f9e MOV R0, R8 ; +0x44, 0xb6fa0 BL sub_5C8CC ; +0x46, 0xb6fa2 STR.W R8, [SP,#0x110+var_110] ; +0x4a, 0xb6fa6 MOV R0, R4 ; +0x4e, 0xb6faa LDR R3, =(aSystemSetoutpu - 0xB6FB6); "System::setOutput" ... ; +0x50, 0xb6fac MOVS R1, #1 ; +0x52, 0xb6fae MOV R2, R5 ; +0x54, 0xb6fb0 ADD R3, PC; "System::setOutput" ; +0x56, 0xb6fb2 BL sub_BAB40 ; +0x58, 0xb6fb4 B loc_B6FBC ; +0x5c, 0xb6fb8 MOVS R4, #0 ; +0x5e, 0xb6fba ADD R0, SP, #0x110+var_8 ; +0x60, 0xb6fbc BL sub_444C0 ; +0x62, 0xb6fbe MOV R0, R4 ; +0x66, 0xb6fc2 ADD SP, SP, #0x110 ; +0x68, 0xb6fc4 POP.W {R8} ; +0x6a, 0xb6fc6 POP {R4-R7,PC} ; +0x6e, 0xb6fca