//
// sub_100627F50 from 0x100627f50 to 0x100627fd4 (132 bytes)
//
// 1 xrefs:
// > sub_10062DB00 @ 0x10062db8c
//
// 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_100627F50(__int64 a1)
{
_BYTE *v2; // x0
char *v3; // x1
_QWORD *v4; // x20
void *v6; // [xsp+8h] [xbp-18h] BYREF
v2 = sub_1005AAD34();
v6 = v2;
v3 = off_100869FC8;
if ( off_100869FC8 )
{
v4 = &unk_100869FB0;
while ( 1 )
{
sub_1005AD9B8((__int64 *)&v6, v3);
if ( !(unsigned int)sub_1005AB460((__int64)v6, *(_QWORD *)(a1 + 32)) )
break;
v3 = (char *)v4[7];
v4 += 4;
if ( !v3 )
{
v2 = v6;
goto LABEL_6;
}
}
sub_1005AACD0(v6);
return *(unsigned int *)v4;
}
else
{
LABEL_6:
sub_1005AACD0(v2);
return 0;
}
}