//
// sub_10035EDF0 from 0x10035edf0 to 0x10035ee49 (89 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b25f50
//
// 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:28:55 +0000
//
__int64 __fastcall sub_10035EDF0(__int64 a1)
{
*(_QWORD *)a1 = off_100B25F48;
*(_QWORD *)(a1 + 320) = off_100B26440;
*(_QWORD *)(a1 + 344) = off_100B264C0;
if ( (*(_BYTE *)(a1 + 624) & 1) == 0 )
return ((__int64 (*)(void))sub_100476270)();
operator delete(*(void **)(a1 + 640));
return sub_100476270(a1);
}