//
// GJObjectDecoder::getDecodedObject from 0x1008037c0 to 0x100803831 (113 bytes)
//
// 2 xrefs:
// > sub_100803860 @ 0x100803865
// > ??> @ 0x100b9ec50
//
// 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:36:38 +0000
//
__int64 __fastcall GJObjectDecoder::getDecodedObject(double a1, __int64 a2, int a3, __int64 a4)
{
__int64 result; // rax
switch ( a3 )
{
case 4:
result = (__int64)GJGameLevel::createWithCoder(a4);
break;
case 5:
result = cocos2d::CCObject::createWithCoder();
break;
case 6:
result = (__int64)SongInfoObject::createWithCoder(a4, a1);
break;
case 7:
result = (__int64)GJChallengeItem::createWithCoder(a4);
break;
case 8:
result = (__int64)GJRewardItem::createWithCoder(a4);
break;
case 9:
result = (__int64)GJRewardObject::createWithCoder(a4);
break;
case 10:
result = (__int64)GJSmartTemplate::createWithCoder(a4);
break;
case 11:
result = (__int64)GJSmartPrefab::createWithCoder(a4);
break;
case 12:
result = GJLevelList::createWithCoder(a4);
break;
default:
result = 0;
break;
}
return result;
}