//
// sub_100688BBC from 0x100688bbc to 0x100688c68 (172 bytes)
//
// 3 xrefs:
// > sub_100676D68 @ 0x100676d90
// > sub_1006789A0 @ 0x1006789d8
// > sub_1006A0904 @ 0x1006a0948
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:11:27 +0000
//
char *__fastcall sub_100688BBC(char *a1, __int64 a2)
{
void *v4; // [xsp+0h] [xbp-20h] BYREF
__int64 v5; // [xsp+8h] [xbp-18h]
__int64 v6; // [xsp+10h] [xbp-10h]
int v7; // [xsp+18h] [xbp-8h]
v7 = 0;
v5 = 0;
v6 = 0;
v4 = nullptr;
if ( (unsigned int)sub_100687610((__int64)&v4, (unsigned int (__fastcall *)(__int64, __int64))sub_100688AF4, a1, a2) != -1
&& v7 == 0 )
{
if ( v6 )
{
*((_BYTE *)v4 + v5) = 0;
return (char *)v4;
}
else
{
return off_1009E5FE8("");
}
}
else
{
if ( v6 )
off_1009E5FD8(v4);
return nullptr;
}
}