//
// sub_100462594 from 0x100462594 to 0x100462618 (132 bytes)
//
// 1 xrefs:
// > sub_1004661D0 @ 0x100468a04
//
// 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
//
__int64 __fastcall sub_100462594(__int64 a1)
{
int v2; // w8
__int64 v3; // x9
__int64 v4; // x10
int v5; // w10
sub_1004B2C44();
v2 = *(_DWORD *)(a1 + 2292);
v3 = *(int *)(a1 + 3068);
while ( 1 )
{
v4 = *(unsigned __int8 *)(a1 + v3 + 656);
if ( v2 > (int)v4 )
break;
v5 = v3 + 1;
*(_DWORD *)(a1 + 3068) = v3 + 1;
if ( (int)v3 <= 253 )
{
++v3;
if ( v5 < *(_DWORD *)(a1 + 2284) )
continue;
}
*(_WORD *)(a1 + 3048) = 256;
return 19;
}
*(_QWORD *)(a1 + 17440) = *(_QWORD *)(*(_QWORD *)(a1 + 632) + 16 * v4 + 8);
sub_100463E00(a1);
return 0;
}