//
// sub_7468CC from 0x7468cc to 0x74694a (126 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_7468CC(int *a1)
{
_DWORD *v2; // r0
unsigned __int8 *v3; // r3
int v4; // r5
_BYTE v6[8]; // [sp+4h] [bp-8h] BYREF
a1[1] = 0;
sub_745FB8(v6, a1, 1);
if ( !v6[0] )
return -1;
v2 = *(_DWORD **)((char *)a1 + *(_DWORD *)(*a1 - 12) + 120);
v3 = (unsigned __int8 *)v2[2];
if ( (unsigned int)v3 < v2[3] )
return *v3;
v4 = (*(int (__fastcall **)(_DWORD *))(*v2 + 36))(v2);
if ( v4 != -1 )
return v4;
sub_7446A4((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | 2);
return -1;
}