//
// sub_1401A1B20 from 0x1401a1b20 to 0x1401a1b52 (50 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x1401b171d
// > GameObject::setupCustomSprites @ 0x1401b97cf
//
// 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 sub_1401A1B20(__int64 a1, int a2)
{
_DWORD *v2; // r8
int v3; // eax
v2 = *(_DWORD **)(a1 + 1104);
if ( v2 )
{
v3 = 1101;
if ( a2 < 0 )
a2 = 0;
if ( a2 <= 1101 )
v3 = a2;
v2[1] = v3;
*v2 = 0;
}
}