MEMORY:021C8398 ; void __fastcall hollowFill__(void *hollowBase, int hollowNumber)
MEMORY:021C8398 hollowFill__ ; CODE XREF: sub_2181E80+52p
MEMORY:021C8398
MEMORY:021C8398 var_20= -0x20
MEMORY:021C8398 var_1C= -0x1C
MEMORY:021C8398 var_18= -0x18
MEMORY:021C8398
MEMORY:021C8398 F0 B5 PUSH {R4-R7,LR}
MEMORY:021C839A 83 B0 SUB SP, SP, #0xC
MEMORY:021C839C 00 90 STR R0, [SP]
MEMORY:021C839E 04 20 MOVS R0, #4 ; max
MEMORY:021C83A0 01 91 STR R1, [SP,#4]
MEMORY:021C83A2 0A 24 MOVS R4, #0xA
MEMORY:021C83A4 3D F6 D0 F9 BL mainRand64__
MEMORY:021C83A8 00 06 LSLS R0, R0, #0x18
MEMORY:021C83AA 00 0E LSRS R0, R0, #0x18
MEMORY:021C83AC 02 90 STR R0, [SP,#8]
MEMORY:021C83AE 01 20 MOVS R0, #1
MEMORY:021C83B0 4B F6 72 FA BL sub_2013898
MEMORY:021C83B4 07 1C MOVS R7, R0
MEMORY:021C83B6 1D 4E LDR R6, =0
MEMORY:021C83B8 1D D0 BEQ loc_21C83F6
MEMORY:021C83BA 01 98 LDR R0, [SP,#4]
MEMORY:021C83BC 1C 4A LDR R2, =unk_21D3F50
MEMORY:021C83BE 01 1C MOVS R1, R0
MEMORY:021C83C0 61 43 MULS R1, R4
MEMORY:021C83C2 55 18 ADDS R5, R2, R1
MEMORY:021C83C4
MEMORY:021C83C4 loc_21C83C4 ; CODE XREF: hollowFill__+5Cj
MEMORY:021C83C4 64 20 MOVS R0, #0x64 ; 'd' ; max
MEMORY:021C83C6 3D F6 BF F9 BL mainRand64__
MEMORY:021C83CA 40 1C ADDS R0, R0, #1
MEMORY:021C83CC 00 06 LSLS R0, R0, #0x18
MEMORY:021C83CE 02 0E LSRS R2, R0, #0x18
MEMORY:021C83D0 00 23 MOVS R3, #0
MEMORY:021C83D2 00 21 MOVS R1, #0
MEMORY:021C83D4
MEMORY:021C83D4 loc_21C83D4 ; CODE XREF: hollowFill__+52j
MEMORY:021C83D4 68 5C LDRB R0, [R5,R1]
MEMORY:021C83D6 18 18 ADDS R0, R3, R0
MEMORY:021C83D8 00 06 LSLS R0, R0, #0x18
MEMORY:021C83DA 03 0E LSRS R3, R0, #0x18
MEMORY:021C83DC 9A 42 CMP R2, R3
MEMORY:021C83DE 02 D8 BHI loc_21C83E6
MEMORY:021C83E0 08 06 LSLS R0, R1, #0x18
MEMORY:021C83E2 04 0E LSRS R4, R0, #0x18
MEMORY:021C83E4 02 E0 B loc_21C83EC
MEMORY:021C83E6 ; ---------------------------------------------------------------------------
MEMORY:021C83E6
MEMORY:021C83E6 loc_21C83E6 ; CODE XREF: hollowFill__+46j
MEMORY:021C83E6 49 1C ADDS R1, R1, #1
MEMORY:021C83E8 0A 29 CMP R1, #0xA
MEMORY:021C83EA F3 DB BLT loc_21C83D4
MEMORY:021C83EC
MEMORY:021C83EC loc_21C83EC ; CODE XREF: hollowFill__+4Cj
MEMORY:021C83EC 02 2C CMP R4, #2
MEMORY:021C83EE 02 D9 BLS loc_21C83F6
MEMORY:021C83F0 76 1C ADDS R6, R6, #1
MEMORY:021C83F2 BE 42 CMP R6, R7
MEMORY:021C83F4 E6 D3 BCC loc_21C83C4
MEMORY:021C83F6
MEMORY:021C83F6 loc_21C83F6 ; CODE XREF: hollowFill__+20j
MEMORY:021C83F6 ; hollowFill__+56j
MEMORY:021C83F6 00 98 LDR R0, [SP]
MEMORY:021C83F8 01 99 LDR R1, [SP,#4]
MEMORY:021C83FA 22 1C MOVS R2, R4
MEMORY:021C83FC 47 F6 00 FA BL setSlot
MEMORY:021C8400 00 98 LDR R0, [SP]
MEMORY:021C8402 01 99 LDR R1, [SP,#4]
MEMORY:021C8404 02 9A LDR R2, [SP,#8]
MEMORY:021C8406 47 F6 07 FA BL setSubslot
MEMORY:021C840A 64 20 MOVS R0, #0x64 ; 'd' ; max
MEMORY:021C840C 3D F6 9C F9 BL mainRand64__
MEMORY:021C8410 02 1C MOVS R2, R0
MEMORY:021C8412 12 06 LSLS R2, R2, #0x18
MEMORY:021C8414 00 98 LDR R0, [SP]
MEMORY:021C8416 01 99 LDR R1, [SP,#4]
MEMORY:021C8418 12 0E LSRS R2, R2, #0x18
MEMORY:021C841A 47 F6 3D FA BL setGender
MEMORY:021C841E 00 98 LDR R0, [SP]
MEMORY:021C8420 01 99 LDR R1, [SP,#4]
MEMORY:021C8422 01 22 MOVS R2, #1
MEMORY:021C8424 47 F6 04 FA BL enableHollow
MEMORY:021C8428 03 B0 ADD SP, SP, #0xC
MEMORY:021C842A F0 BD POP {R4-R7,PC}
MEMORY:021C842A ; End of function hollowFill__
MEMORY:021C842A
MEMORY:021C842A ; ---------------------------------------------------------------------------
MEMORY:021C842C 00 00 00 00 dword_21C842C DCD 0 ; DATA XREF: hollowFill__+1Er
MEMORY:021C8430 50 3F 1D 02 off_21C8430 DCD unk_21D3F50 ; DATA XREF: hollowFill__+24r