; ; FMOD::Sound::set3DMinMaxDistance from 0xb4e0c to 0xb4e9c (144 bytes) ; ; 1 xrefs: ; > FMOD::Sound::set3DMinMaxDistance @ 0xe04e8 ; ; 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:42 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb4e0c ADD R7, SP, #0xC ; +0x2, 0xb4e0e PUSH.W {R8,R9,R11} ; +0x4, 0xb4e10 SUB SP, SP, #0x110 ; +0x8, 0xb4e14 MOV R8, R2 ; +0xa, 0xb4e16 MOV R9, R1 ; +0xc, 0xb4e18 MOV R4, R0 ; +0xe, 0xb4e1a MOVS R0, #0 ; +0x10, 0xb4e1c ADD R1, SP, #0x110+var_4 ; +0x12, 0xb4e1e ADD R2, SP, #0x110+var_8 ; +0x14, 0xb4e20 STR R0, [SP,#0x110+var_8] ; +0x16, 0xb4e22 MOV R0, R4 ; +0x18, 0xb4e24 BL sub_54E84 ; +0x1a, 0xb4e26 MOV R5, R0 ; +0x1e, 0xb4e2a CBNZ R0, loc_B4E5E ; +0x20, 0xb4e2c LDR R0, [SP,#0x110+var_4] ; +0x22, 0xb4e2e LDR.W R0, [R0,#0xBC] ; +0x24, 0xb4e30 DMB.W ISH ; +0x28, 0xb4e34 CBZ R0, loc_B4E48 ; +0x2c, 0xb4e38 LDR R0, [SP,#0x110+var_4] ; +0x2e, 0xb4e3a LDR.W R0, [R0,#0xBC] ; +0x30, 0xb4e3c DMB.W ISH ; +0x34, 0xb4e40 CMP R0, #7 ; +0x38, 0xb4e44 BNE loc_B4E5C ; +0x3a, 0xb4e46 LDR R0, [SP,#0x110+var_4] ; +0x3c, 0xb4e48 MOV R2, R8 ; +0x3e, 0xb4e4a LDR R1, [R0] ; +0x40, 0xb4e4c LDR R3, [R1,#0x24] ; +0x42, 0xb4e4e MOV R1, R9 ; +0x44, 0xb4e50 BLX R3 ; +0x46, 0xb4e52 MOV R5, R0 ; +0x48, 0xb4e54 CBNZ R0, loc_B4E5E ; +0x4a, 0xb4e56 MOVS R5, #0 ; +0x4c, 0xb4e58 B loc_B4E8C ; +0x4e, 0xb4e5a MOVS R5, #0x2E ; '.' ; +0x50, 0xb4e5c LDR R0, =(off_E6144 - 0xB4E64) ; +0x52, 0xb4e5e ADD R0, PC; off_E6144 ; +0x54, 0xb4e60 LDR R0, [R0]; off_E8000 ; +0x56, 0xb4e62 LDR R0, [R0]; dword_F2488 ; +0x58, 0xb4e64 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x5a, 0xb4e66 LSLS R0, R0, #0x18 ; +0x5c, 0xb4e68 BPL loc_B4E8C ; +0x5e, 0xb4e6a ADD R6, SP, #0x110+var_108 ; +0x60, 0xb4e6c MOV.W R1, #0x100 ; +0x62, 0xb4e6e MOV R2, R9 ; +0x66, 0xb4e72 MOV R3, R8 ; +0x68, 0xb4e74 MOV R0, R6 ; +0x6a, 0xb4e76 BL sub_AF46C ; +0x6c, 0xb4e78 STR R6, [SP,#0x110+var_110] ; +0x70, 0xb4e7c MOV R0, R5 ; +0x72, 0xb4e7e LDR R3, =(aSoundSet3dminm - 0xB4E8A); "Sound::set3DMinMaxDistance" ... ; +0x74, 0xb4e80 MOVS R1, #5 ; +0x76, 0xb4e82 MOV R2, R4 ; +0x78, 0xb4e84 ADD R3, PC; "Sound::set3DMinMaxDistance" ; +0x7a, 0xb4e86 BL sub_BAB40 ; +0x7c, 0xb4e88 ADD R0, SP, #0x110+var_8 ; +0x80, 0xb4e8c BL sub_6429C ; +0x82, 0xb4e8e MOV R0, R5 ; +0x86, 0xb4e92 ADD SP, SP, #0x110 ; +0x88, 0xb4e94 POP.W {R8,R9,R11} ; +0x8a, 0xb4e96 POP {R4-R7,PC} ; +0x8e, 0xb4e9a