//
// sub_100720BA0 from 0x100720ba0 to 0x100720c0f (111 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:36:13 +0000
//
char __fastcall sub_100720BA0(__int64 a1, const char *a2)
{
size_t v3; // r12
void *v4; // rax
void *v5; // r14
__int64 v6; // rdi
if ( *(_DWORD *)a1 != 3 )
return 0;
if ( !a2 )
sub_1009A8180();
v3 = strlen(a2) + 1;
v4 = (void *)off_100BE07E8();
if ( !v4 )
return 0;
v5 = v4;
memcpy(v4, a2, v3);
v6 = *(_QWORD *)(a1 + 16);
if ( v6 )
off_100BE07E0(v6);
*(_QWORD *)(a1 + 16) = v5;
return 1;
}