{"type": "func", "start": 4299327088, "end": 4299327187, "name": "GJSmartPrefab::dataLoaded", "pseudocode": "// \n// GJSmartPrefab::dataLoaded from 0x100428670 to 0x1004286d3 (99 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJSmartPrefab::dataLoaded(GJSmartPrefab *a1, DS_Dictionary *a2)\n{\n  double v2; // xmm0_8\n  std::string v3; // [rsp+0h] [rbp-30h] BYREF\n\n  DS_Dictionary::getStringForKey(&v3, (__int64)a2, \"1\", v2);\n  if ( (a1->m_prefabData.m_data.m_short.sizex2 & 1) != 0 )\n    operator delete(a1->m_prefabData.m_data.m_long.longStorage);\n  a1->m_prefabData = v3;\n  a1->m_prefabChance = DS_Dictionary::getIntegerForKey(a2, \"2\");\n}", "assembly": "; \n; GJSmartPrefab::dataLoaded from 0x100428670 to 0x1004286d3 (99 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100428670\nmov     rbp, rsp                                                       ; +0x1, 0x100428671\npush    r15                                                            ; +0x4, 0x100428674\npush    r14                                                            ; +0x6, 0x100428676\npush    rbx                                                            ; +0x8, 0x100428678\nsub     rsp, 18h                                                       ; +0x9, 0x100428679\nmov     r14, rsi                                                       ; +0xd, 0x10042867d\nmov     rbx, rdi                                                       ; +0x10, 0x100428680\nlea     rdx, a1; \"1\"                                                   ; +0x13, 0x100428683\nlea     rdi, [rbp+var_30]                                              ; +0x1a, 0x10042868a\ncall    DS_Dictionary__getStringForKey                                 ; +0x1e, 0x10042868e\nlea     r15, [rbx+50h]                                                 ; +0x23, 0x100428693\ntest    byte ptr [rbx+50h], 1                                          ; +0x27, 0x100428697\njz      short loc_1004286A6                                            ; +0x2b, 0x10042869b\nmov     rdi, [rbx+60h]; __p                                            ; +0x2d, 0x10042869d\ncall    __ZdlPv; operator delete(void *)                               ; +0x31, 0x1004286a1\nmov     rax, [rbp+var_20]                                              ; +0x36, 0x1004286a6\nmov     [r15+10h], rax                                                 ; +0x3a, 0x1004286aa\nmovups  xmm0, [rbp+var_30]                                             ; +0x3e, 0x1004286ae\nmovups  xmmword ptr [r15], xmm0                                        ; +0x42, 0x1004286b2\nlea     rsi, a2_1; \"2\"                                                 ; +0x46, 0x1004286b6\nmov     rdi, r14                                                       ; +0x4d, 0x1004286bd\ncall    DS_Dictionary__getIntegerForKey                                ; +0x50, 0x1004286c0\nmov     [rbx+6Ch], eax                                                 ; +0x55, 0x1004286c5\nadd     rsp, 18h                                                       ; +0x58, 0x1004286c8\npop     rbx                                                            ; +0x5c, 0x1004286cc\npop     r14                                                            ; +0x5d, 0x1004286cd\npop     r15                                                            ; +0x5f, 0x1004286cf\npop     rbp                                                            ; +0x61, 0x1004286d1\nretn                                                                   ; +0x62, 0x1004286d2", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}