//
// sub_1400D5030 from 0x1400d5030 to 0x1400d5088 (88 bytes)
//
// 2 xrefs:
// > GJGameLevel::create @ 0x14016c027
// > ??> @ 0x1406c8730
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void __fastcall sub_1400D5030(__int64 a1, void **a2)
{
__int64 v2; // rbx
void **v3; // rcx
v2 = (__int64)a2;
v3 = (void **)(a1 + 344);
if ( v3 != a2 )
{
if ( (unsigned __int64)a2[3] > 0xF )
a2 = (void **)*a2;
sub_14003CCE0(v3, a2, *(_QWORD *)(v2 + 16));
}
sub_14003A830(v2);
}