{"type": "func", "start": 4299026180, "end": 4299026520, "name": "GJChallengeItem::dataLoaded", "pseudocode": "// \n// GJChallengeItem::dataLoaded from 0x1003def04 to 0x1003df058 (340 bytes)\n// \n// 1 xrefs:\n// > GJChallengeItem::createWithCoder @ 0x1003deef0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:04:20 +0000\n// \n\n__int64 __fastcall GJChallengeItem::dataLoaded(__int64 a1, __int64 a2)\n{\n  int IntegerForKey; // w21\n  int v5; // w8\n  int v6; // w21\n  int v7; // w8\n  int v8; // w21\n  int v9; // w8\n  __int64 result; // x0\n  __int128 v11; // [xsp+8h] [xbp-48h] BYREF\n  __int64 v12; // [xsp+18h] [xbp-38h]\n\n  *(_DWORD *)(a1 + 56) = DS_Dictionary::getIntegerForKey(a2, \"1\");\n  *(_DWORD *)(a1 + 96) = DS_Dictionary::getIntegerForKey(a2, \"5\");\n  *(_BYTE *)(a1 + 100) = DS_Dictionary::getBoolForKey(a2, \"6\");\n  DS_Dictionary::getStringForKey(a2, \"7\", &v11);\n  if ( *(char *)(a1 + 135) < 0 )\n    operator delete(*(void **)(a1 + 112));\n  *(_OWORD *)(a1 + 112) = v11;\n  *(_QWORD *)(a1 + 128) = v12;\n  IntegerForKey = DS_Dictionary::getIntegerForKey(a2, \"2\");\n  *(_DWORD *)(a1 + 68) = IntegerForKey;\n  v5 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  *(_DWORD *)(a1 + 60) = IntegerForKey + v5;\n  *(_DWORD *)(a1 + 64) = v5;\n  v6 = DS_Dictionary::getIntegerForKey(a2, \"3\");\n  *(_DWORD *)(a1 + 92) = v6;\n  v7 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  *(_DWORD *)(a1 + 84) = v6 + v7;\n  *(_DWORD *)(a1 + 88) = v7;\n  v8 = DS_Dictionary::getIntegerForKey(a2, \"4\");\n  *(_DWORD *)(a1 + 80) = v8;\n  v9 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  *(_DWORD *)(a1 + 72) = v8 + v9;\n  *(_DWORD *)(a1 + 76) = v9;\n  result = DS_Dictionary::getIntegerForKey(a2, \"8\");\n  *(_DWORD *)(a1 + 104) = result;\n  return result;\n}", "assembly": "; \n; GJChallengeItem::dataLoaded from 0x1003def04 to 0x1003df058 (340 bytes)\n; \n; 1 xrefs:\n; > GJChallengeItem::createWithCoder @ 0x1003deef0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:04:20 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x1003def04\nSTP             D9, D8, [SP,#0x50+var_30]                              ; +0x4, 0x1003def08\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x8, 0x1003def0c\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0xc, 0x1003def10\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x10, 0x1003def14\nADD             X29, SP, #0x50                                         ; +0x14, 0x1003def18\nMOV             X20, X1                                                ; +0x18, 0x1003def1c\nMOV             X19, X0                                                ; +0x1c, 0x1003def20\nADRL            X1, a1; \"1\"                                            ; +0x20, 0x1003def24\nMOV             X0, X20                                                ; +0x28, 0x1003def2c\nBL              DS_Dictionary__getIntegerForKey                        ; +0x2c, 0x1003def30\nSTR             W0, [X19,#0x38]                                        ; +0x30, 0x1003def34\nADRL            X1, a5; \"5\"                                            ; +0x34, 0x1003def38\nMOV             X0, X20                                                ; +0x3c, 0x1003def40\nBL              DS_Dictionary__getIntegerForKey                        ; +0x40, 0x1003def44\nSTR             W0, [X19,#0x60]                                        ; +0x44, 0x1003def48\nADRL            X1, a6; \"6\"                                            ; +0x48, 0x1003def4c\nMOV             X0, X20                                                ; +0x50, 0x1003def54\nBL              DS_Dictionary__getBoolForKey                           ; +0x54, 0x1003def58\nSTRB            W0, [X19,#0x64]                                        ; +0x58, 0x1003def5c\nADRL            X1, a7; \"7\"                                            ; +0x5c, 0x1003def60\nADD             X8, SP, #0x50+var_48                                   ; +0x64, 0x1003def68\nMOV             X0, X20                                                ; +0x68, 0x1003def6c\nBL              DS_Dictionary__getStringForKey                         ; +0x6c, 0x1003def70\nLDRSB           W8, [X19,#0x87]                                        ; +0x70, 0x1003def74\nTBZ             W8, #0x1F, loc_1003DEF84                               ; +0x74, 0x1003def78\nLDUR            X0, [X19,#0x70]; __p                                   ; +0x78, 0x1003def7c\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x1003def80\nLDUR            Q0, [SP,#0x50+var_48]                                  ; +0x80, 0x1003def84\nSTUR            Q0, [X19,#0x70]                                        ; +0x84, 0x1003def88\nLDR             X8, [SP,#0x50+var_38]                                  ; +0x88, 0x1003def8c\nSTUR            X8, [X19,#0x80]                                        ; +0x8c, 0x1003def90\nADRL            X1, a2; \"2\"                                            ; +0x90, 0x1003def94\nMOV             X0, X20                                                ; +0x98, 0x1003def9c\nBL              DS_Dictionary__getIntegerForKey                        ; +0x9c, 0x1003defa0\nMOV             X21, X0                                                ; +0xa0, 0x1003defa4\nSTR             W0, [X19,#0x44]                                        ; +0xa4, 0x1003defa8\nBL              _rand                                                  ; +0xa8, 0x1003defac\nSCVTF           S0, W0, #0x1F                                          ; +0xac, 0x1003defb0\nMOV             W8, #0x447A0000                                        ; +0xb0, 0x1003defb4\nFMOV            S8, W8                                                 ; +0xb4, 0x1003defb8\nFMUL            S0, S0, S8                                             ; +0xb8, 0x1003defbc\nFCVTZS          W8, S0                                                 ; +0xbc, 0x1003defc0\nADD             W9, W21, W8                                            ; +0xc0, 0x1003defc4\nSTP             W9, W8, [X19,#0x3C]                                    ; +0xc4, 0x1003defc8\nADRL            X1, a3; \"3\"                                            ; +0xc8, 0x1003defcc\nMOV             X0, X20                                                ; +0xd0, 0x1003defd4\nBL              DS_Dictionary__getIntegerForKey                        ; +0xd4, 0x1003defd8\nMOV             X21, X0                                                ; +0xd8, 0x1003defdc\nSTR             W0, [X19,#0x5C]                                        ; +0xdc, 0x1003defe0\nBL              _rand                                                  ; +0xe0, 0x1003defe4\nSCVTF           S0, W0, #0x1F                                          ; +0xe4, 0x1003defe8\nFMUL            S0, S0, S8                                             ; +0xe8, 0x1003defec\nFCVTZS          W8, S0                                                 ; +0xec, 0x1003deff0\nADD             W9, W21, W8                                            ; +0xf0, 0x1003deff4\nSTP             W9, W8, [X19,#0x54]                                    ; +0xf4, 0x1003deff8\nADRL            X1, a4; \"4\"                                            ; +0xf8, 0x1003deffc\nMOV             X0, X20                                                ; +0x100, 0x1003df004\nBL              DS_Dictionary__getIntegerForKey                        ; +0x104, 0x1003df008\nMOV             X21, X0                                                ; +0x108, 0x1003df00c\nSTR             W0, [X19,#0x50]                                        ; +0x10c, 0x1003df010\nBL              _rand                                                  ; +0x110, 0x1003df014\nSCVTF           S0, W0, #0x1F                                          ; +0x114, 0x1003df018\nFMUL            S0, S0, S8                                             ; +0x118, 0x1003df01c\nFCVTZS          W8, S0                                                 ; +0x11c, 0x1003df020\nADD             W9, W21, W8                                            ; +0x120, 0x1003df024\nSTP             W9, W8, [X19,#0x48]                                    ; +0x124, 0x1003df028\nADRL            X1, a8; \"8\"                                            ; +0x128, 0x1003df02c\nMOV             X0, X20                                                ; +0x130, 0x1003df034\nBL              DS_Dictionary__getIntegerForKey                        ; +0x134, 0x1003df038\nSTR             W0, [X19,#0x68]                                        ; +0x138, 0x1003df03c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x13c, 0x1003df040\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x140, 0x1003df044\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x144, 0x1003df048\nLDP             D9, D8, [SP,#0x50+var_30]                              ; +0x148, 0x1003df04c\nADD             SP, SP, #0x60 ; '`'                                    ; +0x14c, 0x1003df050\nRET                                                                    ; +0x150, 0x1003df054", "xrefs": ["GJChallengeItem::createWithCoder @ 0x1003deef0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}