//
// sub_14006B000 from 0x14006b000 to 0x14006b0c5 (197 bytes)
//
// 4 xrefs:
// > sub_1400675E0 @ 0x140067656
// > sub_14006B000 @ 0x14006b087
// > sub_14006B000 @ 0x14006b099
// > ??> @ 0x140911360
//
// 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 11:25:47 +0000
//
// Hidden C++ exception states: #wind=2
char *__fastcall sub_14006B000(__int64 *a1, __int64 a2, __int64 a3)
{
__int64 v6; // rbp
char *v7; // rbx
v6 = *a1;
if ( *(_BYTE *)(a2 + 25) )
return (char *)*a1;
v7 = (char *)operator new(0x40u);
*(_OWORD *)(v7 + 28) = *(_OWORD *)(a2 + 28);
*(_OWORD *)(v7 + 44) = *(_OWORD *)(a2 + 44);
*(_QWORD *)v7 = v6;
*((_QWORD *)v7 + 2) = v6;
*((_WORD *)v7 + 12) = 0;
*((_QWORD *)v7 + 1) = a3;
v7[24] = *(_BYTE *)(a2 + 24);
*(_QWORD *)v7 = sub_14006B000(a1, *(_QWORD *)a2, v7);
*((_QWORD *)v7 + 2) = sub_14006B000(a1, *(_QWORD *)(a2 + 16), v7);
return v7;
}