//
// GJSmartPrefab::dataLoaded from 0x100428670 to 0x1004286d3 (99 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall GJSmartPrefab::dataLoaded(GJSmartPrefab *a1, DS_Dictionary *a2)
{
double v2; // xmm0_8
std::string v3; // [rsp+0h] [rbp-30h] BYREF
DS_Dictionary::getStringForKey(&v3, (__int64)a2, "1", v2);
if ( (a1->m_prefabData.m_data.m_short.sizex2 & 1) != 0 )
operator delete(a1->m_prefabData.m_data.m_long.longStorage);
a1->m_prefabData = v3;
a1->m_prefabChance = DS_Dictionary::getIntegerForKey(a2, "2");
}