//
// sub_1004417C8 from 0x1004417c8 to 0x100441820 (88 bytes)
//
// 1 xrefs:
// > sub_10043FA1C @ 0x100440b50
//
// 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_1004417C8(_QWORD *a1, __int64 a2)
{
__int64 result; // x0
if ( !a2 || (*(_BYTE *)(a2 + 122) & 0x10) != 0 )
return 0;
if ( *a1 )
return 28;
result = sub_100442B5C(a2, 13);
if ( !(_DWORD)result )
*a1 = a2;
return result;
}