//
// sub_677C0 from 0x677c0 to 0x677e6 (38 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:40:56 +0000
//
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;
}