//
// sub_100733640 from 0x100733640 to 0x1007336b0 (112 bytes)
//
// 1 xrefs:
// > sub_100733FF0 @ 0x100734136
//
// 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:23 +0000
//
char *__fastcall sub_100733640(_QWORD *a1, _OWORD *a2, __int64 ***a3)
{
char *v4; // r14
char *v5; // rsi
__int64 v6; // r14
unsigned __int64 v7; // r12
char *v8; // rax
v4 = (char *)a1[2];
if ( v4 == (char *)a1[3] )
{
v5 = (char *)a1[1];
v6 = v4 - v5;
v7 = 16 * ((v6 >> 4) + ((unsigned __int64)(v6 >> 4) >> 1));
v8 = sub_10072FAC0(a3, v5, v6, v7 + 16);
a1[1] = v8;
v4 = &v8[v6];
a1[3] = &v8[v7 + 16];
}
a1[2] = v4 + 16;
*(_OWORD *)v4 = *a2;
return v4 + 16;
}