//
// sub_180051FB0 from 0x180051fb0 to 0x180051fc5 (21 bytes)
//
// 1 xrefs:
// > sub_180033290 @ 0x180033884
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:17 +0000
//
__int64 __fastcall sub_180051FB0(__int64 a1)
{
__int64 result; // rax
result = -131;
if ( *(int *)(a1 + 128) >= 2 )
return *(_QWORD *)(a1 + 16);
return result;
}