//
// sub_10059DC50 from 0x10059dc50 to 0x10059dca5 (85 bytes)
//
// 0 xrefs:
//
// 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:31 +0000
//
__int64 __fastcall sub_10059DC50(__int64 a1)
{
__int64 v1; // rax
__int64 result; // rax
cocos2d::CCObject::CCObject(a1);
*(_QWORD *)a1 = off_100B71EC8;
*(_WORD *)(a1 + 64) = 0;
*(_BYTE *)(a1 + 66) = 0;
v1 = sub_1007FE900(a1);
*(_QWORD *)(a1 + 56) = v1;
cocos2d::CCObject::retain(v1);
*(_QWORD *)(a1 + 72) = sub_100747760(8);
result = sub_100747760(8);
*(_QWORD *)(a1 + 80) = result;
return result;
}