//
// GJGameLevel::createWithCoder from 0x100588f40 to 0x100588f95 (85 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x1008037e0
//
// 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:23 +0000
//
void *__fastcall GJGameLevel::createWithCoder(__int64 a1)
{
void *v1; // r14
v1 = operator new(0x740u);
GJGameLevel::GJGameLevel(v1);
if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v1 + 80LL))(v1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);
v1 = nullptr;
}
GJGameLevel::dataLoaded(v1, a1);
return v1;
}