//
// GJObjectDecoder::getDecodedObject from 0x95820c to 0x958280 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJObjectDecoder::getDecodedObject @ 0x958284
// > ??> @ 0x8ffc8
// > ??> @ 0x146dbf0
//
// This function is hookable on this platform (idp: arm, 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:57:26 +0000
//
GJGameLevel *__fastcall GJObjectDecoder::getDecodedObject(GJObjectDecoder *this, int a2, DS_Dictionary *a3)
{
DS_Dictionary *v3; // x1
GJGameLevel *result; // x0
v3 = (DS_Dictionary *)(unsigned int)(a2 - 4);
switch ( (int)v3 )
{
case 0:
result = GJGameLevel::createWithCoder(a3, v3);
break;
case 1:
result = (GJGameLevel *)cocos2d::CCObject::createWithCoder(a3, v3);
break;
case 2:
result = (GJGameLevel *)SongInfoObject::createWithCoder(a3, v3);
break;
case 3:
result = GJChallengeItem::createWithCoder(a3, v3);
break;
case 4:
result = GJRewardItem::createWithCoder(a3, v3);
break;
case 5:
result = GJRewardObject::createWithCoder(a3, v3);
break;
case 6:
result = (GJGameLevel *)GJSmartTemplate::createWithCoder(a3, v3);
break;
case 7:
result = (GJGameLevel *)GJSmartPrefab::createWithCoder(a3, v3);
break;
case 8:
result = GJLevelList::createWithCoder(a3, v3);
break;
default:
result = nullptr;
break;
}
return result;
}