//
// sub_782F9A from 0x782f9a to 0x782fb0 (22 bytes)
//
// 2 xrefs:
// > sub_782F80 @ 0x782f94
// > sub_783E2A @ 0x783e52
//
// 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_782F9A(int a1, int a2, int a3)
{
int v3; // r4
char v4; // r5
*(_DWORD *)(v3 + 256) = a3 + 1;
*(_BYTE *)(v3 + a3) = v4;
*(_BYTE *)(v3 + 260) = v4;
if ( a3 != 254 )
sub_782FB0();
JUMPOUT(0x782FC4);
}