//
// sub_782636 from 0x782636 to 0x78264e (24 bytes)
//
// 2 xrefs:
// > sub_78145C @ 0x782630
// > sub_783EFE @ 0x783f26
//
// 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_782636(int a1)
{
int v1; // r4
char v2; // r6
*(_DWORD *)(v1 + 256) = a1 + 1;
*(_BYTE *)(v1 + a1) = v2;
*(_BYTE *)(v1 + 260) = v2;
if ( a1 != 254 )
sub_78264E();
JUMPOUT(0x782A34);
}