//
// sub_100907F30 from 0x100907f30 to 0x100907fe0 (176 bytes)
//
// 2 xrefs:
// > sub_100907F00 @ 0x100907f05
// > sub_100907F10 @ 0x100907f19
//
// 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:38:05 +0000
//
__int64 __fastcall sub_100907F30(__int64 a1)
{
*(_QWORD *)a1 = off_100BBE9B8;
if ( (*(_BYTE *)(a1 + 472) & 1) != 0 )
{
operator delete(*(void **)(a1 + 488));
if ( (*(_BYTE *)(a1 + 448) & 1) == 0 )
{
LABEL_3:
if ( (*(_BYTE *)(a1 + 424) & 1) == 0 )
goto LABEL_4;
goto LABEL_10;
}
}
else if ( (*(_BYTE *)(a1 + 448) & 1) == 0 )
{
goto LABEL_3;
}
operator delete(*(void **)(a1 + 464));
if ( (*(_BYTE *)(a1 + 424) & 1) == 0 )
{
LABEL_4:
if ( (*(_BYTE *)(a1 + 400) & 1) == 0 )
goto LABEL_5;
LABEL_11:
operator delete(*(void **)(a1 + 416));
if ( (*(_BYTE *)(a1 + 376) & 1) == 0 )
return cocos2d::CCNode::dCCNode(a1);
goto LABEL_6;
}
LABEL_10:
operator delete(*(void **)(a1 + 440));
if ( (*(_BYTE *)(a1 + 400) & 1) != 0 )
goto LABEL_11;
LABEL_5:
if ( (*(_BYTE *)(a1 + 376) & 1) != 0 )
LABEL_6:
operator delete(*(void **)(a1 + 392));
return cocos2d::CCNode::dCCNode(a1);
}