//
// sub_1800D5260 from 0x1800d5260 to 0x1800d52b0 (80 bytes)
//
// 4 xrefs:
// > sub_180018CF0 @ 0x180018d4e
// > sub_180025F50 @ 0x180025fae
// > sub_1800363B0 @ 0x18003640e
// > sub_18003D900 @ 0x18003d95e
//
// 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_1800D5260(_DWORD *a1, _DWORD *a2, int a3)
{
if ( a3 == 256 )
{
*a2 = a1[767];
return 0;
}
else if ( a3 == 1024 )
{
*a2 = *((unsigned __int8 *)a1 + a1[767] + 656);
return 0;
}
else
{
if ( a3 == 512 )
*a2 = a1[766];
else
*a2 = a1[534];
return 0;
}
}