//
// sub_775648 from 0x775648 to 0x77567e (54 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_775648(int *a1, int a2)
{
int v2; // r3
int v4; // r1
v2 = *a1;
v4 = *(_DWORD *)(*a1 - 4);
if ( v4 >= 0 && (int *)(v2 - 12) != &dword_ACDD9C )
{
if ( v4 )
{
sub_77500C(a1, 0, nullptr, nullptr);
v2 = *a1;
}
*(_DWORD *)(v2 - 4) = -1;
}
return v2 + a2;
}