//
// sub_782BBE from 0x782bbe to 0x782bd4 (22 bytes)
//
// 2 xrefs:
// > sub_782B66 @ 0x782bb8
// > sub_78391E @ 0x78394a
//
// 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_782BBE(int a1, int a2)
{
int v2; // r4
char v3; // r7
*(_DWORD *)(v2 + 256) = a2 + 1;
*(_BYTE *)(v2 + a2) = v3;
*(_BYTE *)(v2 + 260) = v3;
if ( a2 != 254 )
sub_782BD4();
JUMPOUT(0x782BF2);
}