//
// sub_6384D0 from 0x6384d0 to 0x638534 (100 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_6384D0(int a1)
{
int v1; // r5
void *v3; // r0
int v4; // r3
char **v5; // r3
v1 = *(_DWORD *)a1;
v3 = off_ABAEBC(0xCu, 1u);
*(_DWORD *)(v1 + 332) = v3;
if ( !v3 )
return 27;
v4 = *(unsigned __int8 *)(a1 + 618);
*(_BYTE *)(a1 + 612) = 0;
if ( !v4 || *(_BYTE *)(v1 + 890) )
{
++*(_DWORD *)(v1 + 34676);
return 0;
}
else
{
if ( *(char ***)(a1 + 664) == &off_A2D2D8 )
v5 = &off_AAF79C;
else
v5 = &off_AAF7E0;
*(_DWORD *)(a1 + 664) = v5;
return ((int (__fastcall *)(int))v5[1])(a1);
}
}