//
// GJSmartPrefab::createWithCoder from 0x1004285a0 to 0x100428659 (185 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x1007248e4
//
// 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
//
GJSmartPrefab *__fastcall GJSmartPrefab::createWithCoder(DS_Dictionary *a1)
{
char *v1; // rbx
int v2; // eax
__int128 v4; // [rsp+0h] [rbp-30h] BYREF
__int64 v5; // [rsp+10h] [rbp-20h]
v1 = (char *)operator new(0x70u);
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100934C98;
*(_OWORD *)(v1 + 56) = 0;
*(_OWORD *)(v1 + 72) = 0;
*(_OWORD *)(v1 + 88) = 0;
*((_QWORD *)v1 + 13) = 0;
v2 = dword_10099C950++;
*((_DWORD *)v1 + 26) = v2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
DS_Dictionary::getStringForKey(&v4, (__int64)a1, "1", 0.0);
if ( (v1[80] & 1) != 0 )
operator delete(*((void **)v1 + 12));
*((_QWORD *)v1 + 12) = v5;
*((_OWORD *)v1 + 5) = v4;
*((_DWORD *)v1 + 27) = DS_Dictionary::getIntegerForKey(a1, "2");
return (GJSmartPrefab *)v1;
}