//
// sub_677C0 from 0x677c0 to 0x677e6 (38 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_677C0(int *a1, int a2, int a3)
{
int v3; // r0
int v4; // r1
v3 = *a1;
if ( (unsigned int)(a2 - 33) > 0x1F )
{
if ( a2 )
return 31;
v4 = 9068;
}
else
{
v3 += 4 * (a2 - 33);
v4 = 9072;
}
*(_DWORD *)(v3 + v4) = a3;
return 0;
}