//
// sub_7823D0 from 0x7823d0 to 0x7823ea (26 bytes)
//
// 2 xrefs:
// > sub_78238E @ 0x7823ca
// > sub_784004 @ 0x784030
//
// 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_7823D0(int a1, int a2)
{
int v2; // r4
char v3; // r5
*(_DWORD *)(v2 + 256) = a2 + 1;
*(_BYTE *)(v2 + a2) = v3;
*(_BYTE *)(v2 + 260) = v3;
if ( a2 != 254 )
sub_7823EA();
sub_783F7E();
}