//
// GJSmartPrefab::createWithCoder from 0x100415210 to 0x1004152c9 (185 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x100803804
//
// 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:30:10 +0000
//
char *__fastcall GJSmartPrefab::createWithCoder(__int64 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_100B3E920;
*(_OWORD *)(v1 + 56) = 0;
*(_OWORD *)(v1 + 72) = 0;
*(_OWORD *)(v1 + 88) = 0;
*((_QWORD *)v1 + 13) = 0;
v2 = dword_100BDEB00++;
*((_DWORD *)v1 + 26) = v2;
cocos2d::CCObject::autorelease(v1);
DS_Dictionary::getStringForKey(&v4, 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 v1;
}