//
// sub_140002310 from 0x140002310 to 0x140002346 (54 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406d08f8
// > ??> @ 0x14090e210
//
// 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:23 +0000
//
int sub_140002310()
{
_QWORD *v0; // rax
v0 = operator new(0x48u);
*v0 = v0;
v0[1] = v0;
v0[2] = v0;
*((_WORD *)v0 + 12) = 257;
qword_140909D40 = (__int64)v0;
return atexit(sub_1406CD120);
}