//
// sub_677EC from 0x677ec to 0x6780e (34 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_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;
}