//
// sub_51B52 from 0x51b52 to 0x51b70 (30 bytes)
//
// 3 xrefs:
// > sub_58910 @ 0x58926
// > sub_62360 @ 0x62390
// > sub_62B54 @ 0x62dfc
//
// 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_51B52(int a1, int a2, _DWORD *a3)
{
_DWORD *v4; // r0
if ( !a3 )
return 31;
v4 = sub_4F0A0((_DWORD **)(a1 + 328), a2);
if ( !v4 )
return 31;
*a3 = v4[20];
return 0;
}