//
// sub_51BB0 from 0x51bb0 to 0x51bce (30 bytes)
//
// 2 xrefs:
// > sub_58910 @ 0x58932
// > sub_610FC @ 0x611f4
//
// 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_51BB0(int a1, int a2, _DWORD *a3)
{
_DWORD *v4; // r0
if ( !a3 )
return 31;
v4 = sub_4F0A0((_DWORD **)(a1 + 472), a2);
if ( !v4 )
return 31;
*a3 = v4[26];
return 0;
}