//
// GJObjectDecoder::getDecodedObject from 0x1007248a0 to 0x100724911 (113 bytes)
//
// 2 xrefs:
// > sub_100724940 @ 0x100724945
// > ??> @ 0x10098a848
//
// 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
//
cocos2d::CCObject *__fastcall GJObjectDecoder::getDecodedObject(GJObjectDecoder *a1, int a2, DS_Dictionary *a3)
{
cocos2d::CCObject *result; // rax
switch ( a2 )
{
case 4:
result = GJGameLevel::createWithCoder(a3);
break;
case 5:
result = cocos2d::CCObject::createWithCoder(a3);
break;
case 6:
result = SongInfoObject::createWithCoder(a3);
break;
case 7:
result = GJChallengeItem::createWithCoder(a3);
break;
case 8:
result = GJRewardItem::createWithCoder(a3);
break;
case 9:
result = GJRewardObject::createWithCoder(a3);
break;
case 10:
result = GJSmartTemplate::createWithCoder(a3);
break;
case 11:
result = GJSmartPrefab::createWithCoder(a3);
break;
case 12:
result = GJLevelList::createWithCoder(a3);
break;
default:
result = nullptr;
break;
}
return result;
}