//
// sub_100799D50 from 0x100799d50 to 0x100799de3 (147 bytes)
//
// 1 xrefs:
// > ??> @ 0x10098e168
//
// 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_100799D50(__int64 a1)
{
*(_QWORD *)a1 = off_10098E160;
*(_QWORD *)(a1 + 320) = off_10098E5A8;
*(_QWORD *)(a1 + 344) = off_10098E628;
*(_QWORD *)(a1 + 408) = off_10098E658;
if ( (*(_BYTE *)(a1 + 416) & 1) != 0 )
{
**(_BYTE **)(a1 + 432) = 0;
*(_QWORD *)(a1 + 424) = 0;
if ( (*(_BYTE *)(a1 + 416) & 1) != 0 )
operator delete(*(void **)(a1 + 432));
return cocos2d::CCAtlasNode::dCCAtlasNode((_QWORD *)a1);
}
else
{
*(_WORD *)(a1 + 416) = 0;
return cocos2d::CCAtlasNode::dCCAtlasNode((_QWORD *)a1);
}
}