//
// sub_1005EF664 from 0x1005ef664 to 0x1005ef6f4 (144 bytes)
//
// 1 xrefs:
// > sub_100611000 @ 0x1006111b0
//
// 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_1005EF664(__int64 a1, char *__s)
{
int v5[2]; // [xsp+8h] [xbp-38h] BYREF
char *v6; // [xsp+10h] [xbp-30h]
v5[1] = 24;
v5[0] = strlen(__s);
v6 = __s;
if ( !sub_1005EF240(nullptr, v5) )
return 0;
if ( !a1 )
return 1;
if ( (unsigned int)sub_1005FB850(a1, __s) )
{
*(_DWORD *)(a1 + 4) = 24;
return 1;
}
return 0;
}