//
// GJObjectDecoder::getDecodedObject from 0x1002b35e4 to 0x1002b3694 (176 bytes)
//
// 2 xrefs:
// > j_GJObjectDecoder::getDecodedObject @ 0x1002b3694
// > ??> @ 0x10091c050
//
// 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 11:02:21 +0000
//
char *__fastcall GJObjectDecoder::getDecodedObject(__int64 a1, int a2, __int64 a3)
{
if ( a2 <= 7 )
{
if ( a2 <= 5 )
{
if ( a2 == 4 )
return (char *)GJGameLevel::createWithCoder(a3);
if ( a2 == 5 )
return (char *)cocos2d::CCObject::createWithCoder();
return nullptr;
}
if ( a2 == 6 )
return SongInfoObject::createWithCoder(a3);
else
return (char *)GJChallengeItem::createWithCoder(a3);
}
else
{
if ( a2 > 9 )
{
switch ( a2 )
{
case 10:
return (char *)GJSmartTemplate::createWithCoder(a3);
case 11:
return GJSmartPrefab::createWithCoder(a3);
case 12:
return GJLevelList::createWithCoder(a3);
}
return nullptr;
}
if ( a2 == 8 )
return (char *)GJRewardItem::createWithCoder(a3);
else
return (char *)GJRewardObject::createWithCoder(a3);
}
}