//
// GJComment::dGJComment from 0x100561830 to 0x1005618b5 (133 bytes)
//
// 2 xrefs:
// > sub_1005618C0 @ 0x1005618c5
// > sub_1005618D0 @ 0x1005618d9
//
// 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 GJComment::dGJComment(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_100962110;
v2 = *(cocos2d::CCObject **)(a1 + 440);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(a1 + 392) & 1) == 0 )
{
if ( (*(_BYTE *)(a1 + 344) & 1) == 0 )
goto LABEL_5;
LABEL_9:
operator delete(*(void **)(a1 + 360));
if ( (*(_BYTE *)(a1 + 320) & 1) == 0 )
return cocos2d::CCNode::dCCNode(a1);
goto LABEL_6;
}
operator delete(*(void **)(a1 + 408));
if ( (*(_BYTE *)(a1 + 344) & 1) != 0 )
goto LABEL_9;
LABEL_5:
if ( (*(_BYTE *)(a1 + 320) & 1) != 0 )
LABEL_6:
operator delete(*(void **)(a1 + 336));
return cocos2d::CCNode::dCCNode(a1);
}