//
// sub_720B2C from 0x720b2c to 0x720c00 (212 bytes)
//
// 1 xrefs:
// > sub_72CD7C @ 0x72ce76
//
// 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
//
int __fastcall sub_720B2C(_DWORD *a1, int a2)
{
int v4; // r6
int v5; // r7
int v6; // r2
int v7; // r3
int v8; // r6
_BOOL4 *v9; // r7
_BOOL4 *v10; // r4
int v11; // r10
int v12; // r0
int v13; // r11
int v14; // r0
_BOOL4 v15; // r3
int v17; // [sp+8h] [bp-3Ch]
_BOOL4 *v18; // [sp+10h] [bp-34h]
int v19; // [sp+14h] [bp-30h]
_BOOL4 *v20; // [sp+1Ch] [bp-28h]
_DWORD v21[7]; // [sp+24h] [bp-20h] BYREF
v4 = a1[8];
sub_726ABC();
v5 = v4 + 6528;
v6 = v4 + 22016;
v19 = a2 + 584;
v7 = v4 + 3900;
v8 = 0;
v21[6] = v6 + 76;
v21[4] = v7;
v21[5] = v5 + 12;
v20 = a1 + 44;
v18 = a1 + 40;
v21[0] = 0;
v21[3] = 2;
do
{
v9 = v18 - 2;
v17 = v19;
do
{
v10 = v18 - 11;
v11 = v17;
do
{
v12 = v11;
v11 += 32;
v13 = *v9 + *v10;
off_AD50F8(v12, v21);
v14 = off_AD5078(v13, v21);
v15 = v21[1] >= 0;
*v9 = v15;
*v10++ = v15;
v8 += v14;
}
while ( v10 != v18 - 9 );
++v9;
v17 += 64;
}
while ( v9 != v18 );
v18 = v9 + 2;
v19 += 128;
}
while ( v9 + 2 != v20 );
return v8;
}