//
// sub_645AB8 from 0x645ab8 to 0x645af0 (56 bytes)
//
// 1 xrefs:
// > sub_62A270 @ 0x62a282
//
// 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
//
int __fastcall sub_645AB8(_DWORD *a1, size_t item_count)
{
void *v5; // r0
if ( a1[8615] )
return 0;
v5 = off_ABAEBC(item_count, 0x40u);
if ( !v5 )
return 27;
a1[208] = item_count;
a1[8615] = v5;
a1[8616] = 1;
return 0;
}