//
// sub_100567AF0 from 0x100567af0 to 0x100567ba8 (184 bytes)
//
// 2 xrefs:
// > sub_1002429A8 @ 0x1002429b0
// > sub_10056C500 @ 0x10056c5c0
//
// 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 sub_100567AF0()
{
__int64 v1; // [xsp+8h] [xbp-8h] BYREF
if ( !dword_100882BB0 )
{
dword_100882BB0 = 1;
off_10085DEB0 = (void *(__cdecl *)(size_t))&_malloc;
off_10085DEB8 = (void (__cdecl *)(void *))&_free;
off_10085DEC0 = (void *(__cdecl *)(void *, size_t))&_realloc;
off_10085DEC8 = (char *(__cdecl *)(const char *))&strdup;
off_10085DED0 = (void *(__cdecl *)(size_t, size_t))&_calloc;
if ( !(unsigned int)sub_100587058() )
return 0;
qword_100882BB8 = 3;
sub_100561098();
}
if ( (unsigned int)sub_100558B50(&v1) )
return 0;
else
return v1;
}