//
// GJComment::dGJComment from 0x10058e4c0 to 0x10058e545 (133 bytes)
//
// 2 xrefs:
// > sub_10058E550 @ 0x10058e555
// > sub_10058E560 @ 0x10058e569
//
// 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:25 +0000
//
__int64 __fastcall GJComment::dGJComment(__int64 a1)
{
_DWORD *v2; // rdi
*(_QWORD *)a1 = off_100B6EFD0;
v2 = *(_DWORD **)(a1 + 448);
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);
}