//
// sub_782F66 from 0x782f66 to 0x782f80 (26 bytes)
//
// 2 xrefs:
// > sub_782F30 @ 0x782f60
// > sub_783D72 @ 0x783d9c
//
// 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
//
void __fastcall __noreturn sub_782F66(int a1)
{
int v1; // r4
char v2; // r5
*(_DWORD *)(v1 + 256) = a1 + 1;
*(_BYTE *)(v1 + a1) = v2;
*(_BYTE *)(v1 + 260) = v2;
if ( a1 != 254 )
sub_782F80();
sub_783DFC();
}