//
// sub_629A8 from 0x629a8 to 0x62a2c (132 bytes)
//
// 3 xrefs:
// > sub_61F2C @ 0x61f48
// > sub_6C004 @ 0x62dc0
// > sub_62DE8 @ 0x62e18
//
// 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_629A8(__int64 a1, __int64 a2)
{
unsigned int v2; // w19
__int64 v5; // [xsp+8h] [xbp-28h] BYREF
__int64 v6; // [xsp+10h] [xbp-20h] BYREF
__int64 v7; // [xsp+18h] [xbp-18h] BYREF
v2 = a2;
if ( !(unsigned int)sub_62CAC(a1, a2, &v7) )
return *(_QWORD *)(v7 + 120);
if ( !(unsigned int)sub_62C44(a1, v2, &v6) )
return *(_QWORD *)(v6 + 272);
if ( (unsigned int)sub_62C78(a1, v2, &v5) )
return 0;
return *(_QWORD *)(v5 + 256);
}