//
// GJSmartPrefab::dataLoaded from 0x671584 to 0x6715fc (120 bytes)
//
// 1 xrefs:
// > GJSmartPrefab::createWithCoder @ 0x671614
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:52 +0000
//
int __fastcall GJSmartPrefab::dataLoaded(GJSmartPrefab *this, DS_Dictionary *a2, int a3, int a4)
{
int *v5; // r7
GJSmartPrefab *v7; // r0
DS_Dictionary *v8; // r1
int v9; // r2
int result; // r0
GJSmartPrefab *v11; // [sp+0h] [bp-10h] BYREF
DS_Dictionary *v12; // [sp+4h] [bp-Ch]
int v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v11 = this;
v12 = a2;
v13 = a3;
v14 = a4;
v5 = (int *)((char *)this + 64);
DS_Dictionary::getStringForKey((DS_Dictionary *)&v11, (const char *)a2);
if ( (*((_BYTE *)this + 64) & 1) != 0 )
{
**((_BYTE **)this + 18) = 0;
*((_DWORD *)this + 17) = 0;
}
else
{
*((_BYTE *)this + 65) = 0;
*((_BYTE *)this + 64) = 0;
}
std::string::reserve(v5, 0);
v7 = v11;
v8 = v12;
v9 = v13;
v11 = nullptr;
v12 = nullptr;
v13 = 0;
*v5 = (int)v7;
v5[1] = (int)v8;
v5[2] = v9;
std::string::~string((int)&v11);
result = DS_Dictionary::getIntegerForKey(a2, (const char *)&a1i2r3e45s789g[2]);
*((_DWORD *)this + 20) = result;
return result;
}