//
// GJSmartPrefab::dataLoaded from 0xb1195c to 0xb11a14 (184 bytes)
//
// 2 xrefs:
// > GJSmartPrefab::createWithCoder @ 0xb11a30
// > ??> @ 0xaf780
//
// 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 13:01:28 +0000
//
__int64 __fastcall GJSmartPrefab::dataLoaded(GJSmartPrefab *this, DS_Dictionary *a2)
{
__int64 v4; // x3
__int64 v6[3]; // [xsp+30h] [xbp+30h] BYREF
DS_Dictionary::getStringForKey(v6, a2, "1");
if ( (*((_BYTE *)this + 80) & 1) != 0 )
{
**((_BYTE **)this + 12) = 0;
*((_QWORD *)this + 11) = 0;
}
else
{
*((_BYTE *)this + 81) = 0;
*((_BYTE *)this + 80) = 0;
}
std::string::reserve((__int64 *)this + 10, 0);
v4 = v6[1];
*((_QWORD *)this + 10) = v6[0];
*((_QWORD *)this + 11) = v4;
*((_QWORD *)this + 12) = v6[2];
*((_DWORD *)this + 27) = DS_Dictionary::getIntegerForKey(a2, &byte_120A098);
return _stack_chk_guard;
}