//
// sub_7308C4 from 0x7308c4 to 0x7309a6 (226 bytes)
//
// 1 xrefs:
// > sub_72F448 @ 0x72f562
//
// 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_7308C4(int a1, int a2)
{
char *v3; // r3
char *v4; // r9
char *v5; // r8
int v6; // r7
int v7; // r4
char *v8; // r10
char *v9; // r5
int v10; // r11
int v11; // t1
int v12; // r1
int v13; // t1
int v14; // t1
int result; // r0
char *v16; // [sp+0h] [bp-24h]
char *v17; // [sp+4h] [bp-20h]
int v18; // [sp+8h] [bp-1Ch]
char *v19; // [sp+Ch] [bp-18h]
int v20; // [sp+10h] [bp-14h]
char *v21; // [sp+14h] [bp-10h]
int v22; // [sp+18h] [bp-Ch]
v20 = a2 + 14;
v22 = a2 + 1070;
v16 = (char *)&unk_A05B70;
v21 = (char *)&unk_A062F7;
do
{
v19 = v16 + 264;
v17 = v21;
v18 = v20;
v3 = v16;
do
{
v4 = v17;
v5 = v3 - 33;
v6 = v18;
do
{
v7 = v6 - 11;
v8 = v4;
v9 = v5;
do
{
while ( 1 )
{
v11 = *(unsigned __int8 *)++v7;
v10 = v11;
v13 = (unsigned __int8)*++v9;
v12 = v13;
v14 = (unsigned __int8)*++v8;
if ( sub_733B14(a1, v12 != v10, v14) )
break;
if ( v7 == v6 )
goto LABEL_8;
}
sub_733D64(a1, v10, 8);
}
while ( v7 != v6 );
LABEL_8:
v5 += 11;
v6 = v7 + 11;
v4 += 11;
}
while ( v16 != v5 );
v3 = v16 + 33;
v16 = v3;
v18 += 33;
v17 += 33;
}
while ( v3 != v19 );
v21 += 264;
v20 += 264;
}
while ( v20 != v22 );
result = sub_733C40(a1, *(_DWORD *)(a2 + 19112));
if ( result )
return sub_733D64(a1, *(unsigned __int8 *)(a2 + 3), 8);
return result;
}