//
// sub_855B38 from 0x855b38 to 0x855b70 (56 bytes)
//
// 1 xrefs:
// > sub_83A2F0 @ 0x83a302
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:02:36 +0000
//
int __fastcall sub_855B38(_DWORD *a1, size_t item_count)
{
void *v5; // r0
if ( a1[8615] )
return 0;
v5 = off_D200BC(item_count, 0x40u);
if ( !v5 )
return 27;
a1[208] = item_count;
a1[8615] = v5;
a1[8616] = 1;
return 0;
}