//
// sub_781F50 from 0x781f50 to 0x781f60 (16 bytes)
//
// 2 xrefs:
// > sub_781F38 @ 0x781f4a
// > sub_783BBC @ 0x783bc4
//
// 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_781F50(int a1)
{
int v1; // r4
int v2; // r3
v2 = *(_DWORD *)(v1 + 256);
if ( v2 == 255 )
sub_783664();
sub_781F60(a1, v2 + 1);
}