//
// sub_1403700D0 from 0x1403700d0 to 0x140370145 (117 bytes)
//
// 3 xrefs:
// > sub_140362520 @ 0x140362568
// > EffectManagerState::EffectManagerState @ 0x1405033c4
// > ??> @ 0x140921d04
//
// 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:30:59 +0000
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall sub_1403700D0(__int64 a1)
{
_QWORD *v2; // rax
*(_DWORD *)a1 = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 16) = 0;
v2 = operator new(0x30u);
*v2 = v2;
v2[1] = v2;
*(_QWORD *)(a1 + 8) = v2;
*(_QWORD *)(a1 + 24) = 0;
*(_QWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 48) = 7;
*(_QWORD *)(a1 + 56) = 8;
*(_DWORD *)a1 = 1065353216;
sub_14003F200(a1 + 24, 0x10u, *(_QWORD *)(a1 + 8));
return a1;
}