//
// sub_758204 from 0x758204 to 0x75824c (72 bytes)
//
// 0 xrefs:
//
// 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_758204(int *a1, int *a2)
{
int *v2; // r5
_BYTE *v3; // r4
int *v4; // r6
int v5; // r2
int v6; // r0
v2 = a1;
v3 = *(_BYTE **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124);
if ( !v3 )
sub_772FE4(a1);
v4 = a2;
if ( v3[28] )
{
v5 = (unsigned __int8)v3[39];
}
else
{
sub_77ABA8(v3);
v6 = (*(int (__fastcall **)(_BYTE *, int))(*(_DWORD *)v3 + 24))(v3, 10);
a2 = v4;
v5 = v6;
a1 = v2;
}
return sub_74A2AC(a1, a2, v5);
}