//
// sub_55EB8 from 0x55eb8 to 0x55ee0 (40 bytes)
//
// 0 xrefs:
//
// 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_55EB8(int a1, int a2, int a3)
{
void *v3; // r3
if ( !a2 )
return 31;
if ( a3 >= 256 )
a3 = 256;
v3 = *(void **)(a1 + 32);
if ( !v3 )
v3 = &unk_2191F;
sub_BE220(a2, v3, a3);
return 0;
}