//
// sub_782F80 from 0x782f80 to 0x782f9a (26 bytes)
//
// 2 xrefs:
// > sub_782F66 @ 0x782f7a
// > sub_783D48 @ 0x783d6e
//
// 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_782F80(int a1, int a2, int a3, int a4)
{
int v4; // r4
char v5; // r5
*(_DWORD *)(v4 + 256) = a4 + 1;
*(_BYTE *)(v4 + a4) = v5;
*(_BYTE *)(v4 + 260) = v5;
if ( a4 != 254 )
sub_782F9A();
sub_783ED4();
}