{"type": "func", "start": 4295555056, "end": 4295555196, "name": "GJChallengeItem::init", "pseudocode": "// \n// GJChallengeItem::init from 0x10008f7f0 to 0x10008f87c (140 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\nchar __fastcall GJChallengeItem::init(__int64 a1, int a2, int a3, int a4, int a5, const std::string *a6)\n{\n  float v8; // xmm0_4\n  float v9; // xmm0_4\n\n  *(_DWORD *)(a1 + 56) = a2;\n  *(_DWORD *)(a1 + 96) = a5;\n  std::string::operator=((std::string *)(a1 + 112), a6);\n  *(_DWORD *)(a1 + 92) = a3;\n  v8 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n  *(_DWORD *)(a1 + 88) = (int)v8;\n  *(_DWORD *)(a1 + 84) = a3 + (int)v8;\n  *(_DWORD *)(a1 + 80) = a4;\n  v9 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n  *(_DWORD *)(a1 + 76) = (int)v9;\n  *(_DWORD *)(a1 + 72) = a4 + (int)v9;\n  return 1;\n}", "assembly": "; \n; GJChallengeItem::init from 0x10008f7f0 to 0x10008f87c (140 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, 0x10008f7f0\nmov     rbp, rsp                                                       ; +0x1, 0x10008f7f1\npush    r15                                                            ; +0x4, 0x10008f7f4\npush    r14                                                            ; +0x6, 0x10008f7f6\npush    rbx                                                            ; +0x8, 0x10008f7f8\npush    rax                                                            ; +0x9, 0x10008f7f9\nmov     ebx, ecx                                                       ; +0xa, 0x10008f7fa\nmov     r15d, edx                                                      ; +0xc, 0x10008f7fc\nmov     r14, rdi                                                       ; +0xf, 0x10008f7ff\nmov     [rdi+38h], esi                                                 ; +0x12, 0x10008f802\nmov     [rdi+60h], r8d                                                 ; +0x15, 0x10008f805\nadd     rdi, 70h ; 'p'; this                                           ; +0x19, 0x10008f809\nmov     rsi, r9; __str                                                 ; +0x1d, 0x10008f80d\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x20, 0x10008f810\nmov     [r14+5Ch], r15d                                                ; +0x25, 0x10008f815\ncall    _rand                                                          ; +0x29, 0x10008f819\ncvtsi2ss xmm0, eax                                                     ; +0x2e, 0x10008f81e\nmulss   xmm0, cs:dword_100815710                                       ; +0x32, 0x10008f822\nmulss   xmm0, cs:dword_1008152B8                                       ; +0x3a, 0x10008f82a\ncvttss2si eax, xmm0                                                    ; +0x42, 0x10008f832\nmov     [r14+58h], eax                                                 ; +0x46, 0x10008f836\nadd     eax, r15d                                                      ; +0x4a, 0x10008f83a\nmov     [r14+54h], eax                                                 ; +0x4d, 0x10008f83d\nmov     [r14+50h], ebx                                                 ; +0x51, 0x10008f841\ncall    _rand                                                          ; +0x55, 0x10008f845\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x10008f84a\ncvtsi2ss xmm0, eax                                                     ; +0x5d, 0x10008f84d\nmulss   xmm0, cs:dword_100815710                                       ; +0x61, 0x10008f851\nmulss   xmm0, cs:dword_1008152B8                                       ; +0x69, 0x10008f859\ncvttss2si eax, xmm0                                                    ; +0x71, 0x10008f861\nmov     [r14+4Ch], eax                                                 ; +0x75, 0x10008f865\nadd     eax, ebx                                                       ; +0x79, 0x10008f869\nmov     [r14+48h], eax                                                 ; +0x7b, 0x10008f86b\nmov     al, 1                                                          ; +0x7f, 0x10008f86f\nadd     rsp, 8                                                         ; +0x81, 0x10008f871\npop     rbx                                                            ; +0x85, 0x10008f875\npop     r14                                                            ; +0x86, 0x10008f876\npop     r15                                                            ; +0x88, 0x10008f878\npop     rbp                                                            ; +0x8a, 0x10008f87a\nretn                                                                   ; +0x8b, 0x10008f87b", "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"}