//
// sub_77AE24 from 0x77ae24 to 0x77ae36 (18 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_77AE24(int a1, int a2)
{
if ( (*(_BYTE *)(*(_DWORD *)(a1 + 24) + a2) & 1) != 0 )
return (unsigned __int8)(a2 + 32);
else
return a2;
}