//
// sub_781676 from 0x781676 to 0x781690 (26 bytes)
//
// 3 xrefs:
// > sub_78165C @ 0x781672
// > sub_78165C @ 0x781670
// > sub_7839AE @ 0x7839da
//
// 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_781676(int a1, int a2, int a3)
{
int v3; // r4
char v4; // r7
*(_DWORD *)(v3 + 256) = a3 + 1;
*(_BYTE *)(v3 + a3) = v4;
*(_BYTE *)(v3 + 260) = v4;
if ( a3 == 254 )
sub_7829C0();
return sub_781690();
}