; ; sub_44D9A from 0x44d9a to 0x44e80 (230 bytes) ; ; 2 xrefs: ; > sub_45EEE @ 0x45ef4 ; > sub_4657A @ 0x46582 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R4,R6,R7,LR} ; +0x0, 0x44d9a ADD R7, SP, #8 ; +0x2, 0x44d9c LSLS R3, R1, #0x1D ; +0x4, 0x44d9e BEQ loc_44DC8 ; +0x6, 0x44da0 LDR R2, [R0,#0x1C] ; +0x8, 0x44da2 LSLS R4, R1, #0x1F ; +0xa, 0x44da4 BIC.W R2, R2, #7 ; +0xc, 0x44da6 STR R2, [R0,#0x1C] ; +0x10, 0x44daa BNE loc_44DBC ; +0x12, 0x44dac LSLS R4, R1, #0x1E ; +0x14, 0x44dae BMI loc_44DC2 ; +0x16, 0x44db0 CMP R3, #0 ; +0x18, 0x44db2 BPL loc_44DC8 ; +0x1a, 0x44db4 ORR.W R2, R2, #4 ; +0x1c, 0x44db6 B loc_44DC6 ; +0x20, 0x44dba ORR.W R2, R2, #1 ; +0x22, 0x44dbc B loc_44DC6 ; +0x26, 0x44dc0 ORR.W R2, R2, #2 ; +0x28, 0x44dc2 STR R2, [R0,#0x1C] ; +0x2c, 0x44dc6 LSLS R2, R1, #0xD ; +0x2e, 0x44dc8 BMI loc_44DD6 ; +0x30, 0x44dca LSLS R2, R1, #0xC ; +0x32, 0x44dcc BPL loc_44DE4 ; +0x34, 0x44dce MOV.W R2, #0x80000 ; +0x36, 0x44dd0 B loc_44DDA ; +0x3a, 0x44dd4 MOV.W R2, #0x40000 ; +0x3c, 0x44dd6 LDR R3, [R0,#0x1C] ; +0x40, 0x44dda BIC.W R3, R3, #0xC0000 ; +0x42, 0x44ddc ORRS R2, R3 ; +0x46, 0x44de0 STR R2, [R0,#0x1C] ; +0x48, 0x44de2 LSLS R2, R1, #0xB ; +0x4a, 0x44de4 BMI loc_44E04 ; +0x4c, 0x44de6 LSLS R2, R1, #0xA ; +0x4e, 0x44de8 BMI loc_44E10 ; +0x50, 0x44dea LSLS R2, R1, #9 ; +0x52, 0x44dec BMI loc_44E1C ; +0x54, 0x44dee LSLS R2, R1, #8 ; +0x56, 0x44df0 BMI loc_44E28 ; +0x58, 0x44df2 LDR R2, [R0,#0x1C] ; +0x5a, 0x44df4 LSLS R3, R1, #5 ; +0x5c, 0x44df6 BPL loc_44E34 ; +0x5e, 0x44df8 BIC.W R2, R2, #0x4F00000 ; +0x60, 0x44dfa ADD.W R2, R2, #0x4000000 ; +0x64, 0x44dfe B loc_44E32 ; +0x68, 0x44e02 LDR R2, [R0,#0x1C] ; +0x6a, 0x44e04 BIC.W R2, R2, #0x4F00000 ; +0x6c, 0x44e06 ADD.W R2, R2, #0x100000 ; +0x70, 0x44e0a B loc_44E32 ; +0x74, 0x44e0e LDR R2, [R0,#0x1C] ; +0x76, 0x44e10 BIC.W R2, R2, #0x4F00000 ; +0x78, 0x44e12 ADD.W R2, R2, #0x200000 ; +0x7c, 0x44e16 B loc_44E32 ; +0x80, 0x44e1a LDR R2, [R0,#0x1C] ; +0x82, 0x44e1c BIC.W R2, R2, #0x4F00000 ; +0x84, 0x44e1e ADD.W R2, R2, #0x400000 ; +0x88, 0x44e22 B loc_44E32 ; +0x8c, 0x44e26 LDR R2, [R0,#0x1C] ; +0x8e, 0x44e28 BIC.W R2, R2, #0x4F00000 ; +0x90, 0x44e2a ADD.W R2, R2, #0x800000 ; +0x94, 0x44e2e STR R2, [R0,#0x1C] ; +0x98, 0x44e32 LSLS R3, R1, #1 ; +0x9a, 0x44e34 ORR.W R3, R2, #0x40000000 ; +0x9c, 0x44e36 IT PL ; +0xa0, 0x44e3a BICPL.W R3, R2, #0x40000000 ; +0xa2, 0x44e3c BIC.W R2, R3, #0x80000000 ; +0xa6, 0x44e40 CMP R1, #0 ; +0xaa, 0x44e44 IT MI ; +0xac, 0x44e46 ORRMI.W R2, R3, #0x80000000 ; +0xae, 0x44e48 LSLS R3, R1, #0x1C ; +0xb2, 0x44e4c STR R2, [R0,#0x1C] ; +0xb4, 0x44e4e BMI loc_44E60 ; +0xb6, 0x44e50 LSLS R1, R1, #0x1B ; +0xb8, 0x44e52 ITTT MI ; +0xba, 0x44e54 MOVMI R1, #2 ; +0xbc, 0x44e56 BFIMI.W R2, R1, #3, #2 ; +0xbe, 0x44e58 STRMI R2, [R0,#0x1C] ; +0xc2, 0x44e5c B loc_44E7C ; +0xc4, 0x44e5e LDR R1, [R0,#0xC] ; +0xc6, 0x44e60 CBZ R1, loc_44E7C ; +0xc8, 0x44e62 MOVS R3, #1 ; +0xca, 0x44e64 BFI.W R2, R3, #3, #2 ; +0xcc, 0x44e66 STR R2, [R0,#0x1C] ; +0xd0, 0x44e6a MOVS R0, #0 ; +0xd2, 0x44e6c STR.W R0, [R1,#0x8C] ; +0xd4, 0x44e6e MOV.W R0, #0x3F800000 ; +0xd8, 0x44e72 STR R0, [R1,#0x70] ; +0xdc, 0x44e76 STRD.W R0, R0, [R1,#0x44] ; +0xde, 0x44e78 MOVS R0, #0 ; +0xe2, 0x44e7c POP {R4,R6,R7,PC} ; +0xe4, 0x44e7e