//
// sub_76DBA8 from 0x76dba8 to 0x76dbd6 (46 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_76DBA8(int a1, int a2, int a3)
{
bool v6; // zf
bool v7; // cc
if ( !sub_77A088(a1 + 36) )
{
v6 = a2 == 0;
if ( !a2 )
v6 = a3 == 0;
if ( v6 )
{
*(_DWORD *)(a1 + 64) = 1;
}
else
{
v7 = a2 <= 0;
if ( a2 )
v7 = a3 <= 0;
if ( !v7 )
{
*(_DWORD *)(a1 + 60) = a2;
*(_DWORD *)(a1 + 64) = a3;
}
}
}
return a1;
}