{"type": "func", "start": 4295320336, "end": 4295320476, "name": "GJChallengeItem::init", "pseudocode": "// \n// GJChallengeItem::init from 0x100056310 to 0x10005639c (140 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:19:36 +0000\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 0x100056310 to 0x10005639c (140 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:19:36 +0000\n; \npush    rbp                                                            ; +0x0, 0x100056310\nmov     rbp, rsp                                                       ; +0x1, 0x100056311\npush    r15                                                            ; +0x4, 0x100056314\npush    r14                                                            ; +0x6, 0x100056316\npush    rbx                                                            ; +0x8, 0x100056318\npush    rax                                                            ; +0x9, 0x100056319\nmov     ebx, ecx                                                       ; +0xa, 0x10005631a\nmov     r15d, edx                                                      ; +0xc, 0x10005631c\nmov     r14, rdi                                                       ; +0xf, 0x10005631f\nmov     [rdi+38h], esi                                                 ; +0x12, 0x100056322\nmov     [rdi+60h], r8d                                                 ; +0x15, 0x100056325\nadd     rdi, 70h ; 'p'; this                                           ; +0x19, 0x100056329\nmov     rsi, r9; __str                                                 ; +0x1d, 0x10005632d\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x20, 0x100056330\nmov     [r14+5Ch], r15d                                                ; +0x25, 0x100056335\ncall    _rand                                                          ; +0x29, 0x100056339\ncvtsi2ss xmm0, eax                                                     ; +0x2e, 0x10005633e\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x32, 0x100056342\nmulss   xmm0, cs:dword_100A03738                                       ; +0x3a, 0x10005634a\ncvttss2si eax, xmm0                                                    ; +0x42, 0x100056352\nmov     [r14+58h], eax                                                 ; +0x46, 0x100056356\nadd     eax, r15d                                                      ; +0x4a, 0x10005635a\nmov     [r14+54h], eax                                                 ; +0x4d, 0x10005635d\nmov     [r14+50h], ebx                                                 ; +0x51, 0x100056361\ncall    _rand                                                          ; +0x55, 0x100056365\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x10005636a\ncvtsi2ss xmm0, eax                                                     ; +0x5d, 0x10005636d\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x61, 0x100056371\nmulss   xmm0, cs:dword_100A03738                                       ; +0x69, 0x100056379\ncvttss2si eax, xmm0                                                    ; +0x71, 0x100056381\nmov     [r14+4Ch], eax                                                 ; +0x75, 0x100056385\nadd     eax, ebx                                                       ; +0x79, 0x100056389\nmov     [r14+48h], eax                                                 ; +0x7b, 0x10005638b\nmov     al, 1                                                          ; +0x7f, 0x10005638f\nadd     rsp, 8                                                         ; +0x81, 0x100056391\npop     rbx                                                            ; +0x85, 0x100056395\npop     r14                                                            ; +0x86, 0x100056396\npop     r15                                                            ; +0x88, 0x100056398\npop     rbp                                                            ; +0x8a, 0x10005639a\nretn                                                                   ; +0x8b, 0x10005639b", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}