//
// sub_1007157CC from 0x1007157cc to 0x10071585c (144 bytes)
//
// 1 xrefs:
// > sub_100737168 @ 0x100737318
//
// 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:12:59 +0000
//
__int64 __fastcall sub_1007157CC(__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_1007153A8(nullptr, v5) )
return 0;
if ( !a1 )
return 1;
if ( (unsigned int)sub_1007219B8(a1, __s) )
{
*(_DWORD *)(a1 + 4) = 24;
return 1;
}
return 0;
}