{"type": "func", "start": 4299025992, "end": 4299026132, "name": "GJChallengeItem::init", "pseudocode": "// \n// GJChallengeItem::init from 0x1003dee48 to 0x1003deed4 (140 bytes)\n// \n// 1 xrefs:\n// > GJChallengeItem::create @ 0x1003ded6c\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::init(__int64 a1, int a2, int a3, int a4, int a5, std::string *__str)\n{\n  float v9; // s0\n  float v10; // s0\n\n  *(_DWORD *)(a1 + 56) = a2;\n  *(_DWORD *)(a1 + 96) = a5;\n  std::string::operator=((std::string *)(a1 + 112), __str);\n  *(_DWORD *)(a1 + 92) = a3;\n  v9 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;\n  *(_DWORD *)(a1 + 88) = (int)v9;\n  *(_DWORD *)(a1 + 80) = a4;\n  *(_DWORD *)(a1 + 84) = (int)v9 + a3;\n  v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;\n  *(_DWORD *)(a1 + 72) = (int)v10 + a4;\n  *(_DWORD *)(a1 + 76) = (int)v10;\n  return 1;\n}", "assembly": "; \n; GJChallengeItem::init from 0x1003dee48 to 0x1003deed4 (140 bytes)\n; \n; 1 xrefs:\n; > GJChallengeItem::create @ 0x1003ded6c\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; \nSTP             D9, D8, [SP,#-0x10+var_30]!                            ; +0x0, 0x1003dee48\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1003dee4c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1003dee50\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1003dee54\nADD             X29, SP, #0x30                                         ; +0x10, 0x1003dee58\nMOV             X19, X3                                                ; +0x14, 0x1003dee5c\nMOV             X20, X2                                                ; +0x18, 0x1003dee60\nMOV             X21, X0                                                ; +0x1c, 0x1003dee64\nSTR             W1, [X0,#0x38]                                         ; +0x20, 0x1003dee68\nSTR             W4, [X0,#0x60]                                         ; +0x24, 0x1003dee6c\nADD             X0, X0, #0x70 ; 'p'; this                              ; +0x28, 0x1003dee70\nMOV             X1, X5; __str                                          ; +0x2c, 0x1003dee74\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x30, 0x1003dee78\nSTR             W20, [X21,#0x5C]                                       ; +0x34, 0x1003dee7c\nBL              _rand                                                  ; +0x38, 0x1003dee80\nSCVTF           S0, W0, #0x1F                                          ; +0x3c, 0x1003dee84\nMOV             W8, #0x447A0000                                        ; +0x40, 0x1003dee88\nFMOV            S8, W8                                                 ; +0x44, 0x1003dee8c\nFMUL            S0, S0, S8                                             ; +0x48, 0x1003dee90\nFCVTZS          W8, S0                                                 ; +0x4c, 0x1003dee94\nSTR             W8, [X21,#0x58]                                        ; +0x50, 0x1003dee98\nADD             W8, W8, W20                                            ; +0x54, 0x1003dee9c\nSTP             W19, W8, [X21,#0x50]                                   ; +0x58, 0x1003deea0\nBL              _rand                                                  ; +0x5c, 0x1003deea4\nSCVTF           S0, W0, #0x1F                                          ; +0x60, 0x1003deea8\nFMUL            S0, S0, S8                                             ; +0x64, 0x1003deeac\nFCVTZS          W8, S0                                                 ; +0x68, 0x1003deeb0\nADD             W9, W8, W19                                            ; +0x6c, 0x1003deeb4\nSTP             W9, W8, [X21,#0x48]                                    ; +0x70, 0x1003deeb8\nMOV             W0, #1                                                 ; +0x74, 0x1003deebc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x1003deec0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x1003deec4\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x1003deec8\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0x84, 0x1003deecc\nRET                                                                    ; +0x88, 0x1003deed0", "xrefs": ["GJChallengeItem::create @ 0x1003ded6c"], "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"}