//
// sub_677EC from 0x677ec to 0x6780e (34 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_677EC(_DWORD *a1, int a2, int a3)
{
unsigned int v3; // r1
v3 = a2 - 1;
if ( v3 > 0x1F )
return 31;
*(_DWORD *)(*a1 + 4 * v3 + 8940) = a3;
return 0;
}