//
// sub_100560690 from 0x100560690 to 0x100560722 (146 bytes)
//
// 1 xrefs:
// > ??> @ 0x100961a18
//
// 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
//
__int64 __fastcall sub_100560690(__int64 a1)
{
*(_QWORD *)a1 = off_100961A10;
if ( (*(_BYTE *)(a1 + 400) & 1) != 0 )
{
operator delete(*(void **)(a1 + 416));
if ( (*(_BYTE *)(a1 + 376) & 1) == 0 )
{
LABEL_3:
if ( (*(_BYTE *)(a1 + 352) & 1) == 0 )
goto LABEL_4;
LABEL_9:
operator delete(*(void **)(a1 + 368));
if ( (*(_BYTE *)(a1 + 328) & 1) == 0 )
return cocos2d::CCNode::dCCNode(a1);
goto LABEL_5;
}
}
else if ( (*(_BYTE *)(a1 + 376) & 1) == 0 )
{
goto LABEL_3;
}
operator delete(*(void **)(a1 + 392));
if ( (*(_BYTE *)(a1 + 352) & 1) != 0 )
goto LABEL_9;
LABEL_4:
if ( (*(_BYTE *)(a1 + 328) & 1) != 0 )
LABEL_5:
operator delete(*(void **)(a1 + 344));
return cocos2d::CCNode::dCCNode(a1);
}