//
// sub_1005907D0 from 0x1005907d0 to 0x10059085f (143 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6fce8
//
// 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:32:26 +0000
//
void __fastcall sub_1005907D0(void **__p)
{
*__p = off_100B6FCD8;
if ( ((_BYTE)__p[21] & 1) != 0 )
{
operator delete(__p[23]);
if ( ((_BYTE)__p[18] & 1) == 0 )
{
LABEL_3:
if ( ((_BYTE)__p[14] & 1) == 0 )
goto LABEL_4;
LABEL_9:
operator delete(__p[16]);
if ( ((_BYTE)__p[8] & 1) == 0 )
goto LABEL_6;
goto LABEL_5;
}
}
else if ( ((_BYTE)__p[18] & 1) == 0 )
{
goto LABEL_3;
}
operator delete(__p[20]);
if ( ((_BYTE)__p[14] & 1) != 0 )
goto LABEL_9;
LABEL_4:
if ( ((_BYTE)__p[8] & 1) != 0 )
LABEL_5:
operator delete(__p[10]);
LABEL_6:
sub_10047FF60((__int64)__p);
operator delete(__p);
}