{"type": "func", "start": 4300749040, "end": 4300749215, "name": "GJGameLevel::unverifyCoins", "pseudocode": "// \n// GJGameLevel::unverifyCoins from 0x1005838f0 to 0x10058399f (175 bytes)\n// \n// 2 xrefs:\n// > sub_1006CC260 @ 0x1006cd010\n// > LocalLevelManager::importLevelsFromPaths @ 0x1006cf1ba\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:32:21 +0000\n// \n\n__int64 __fastcall GJGameLevel::unverifyCoins(_DWORD *a1)\n{\n  int v1; // eax\n  int v2; // eax\n  __int64 result; // rax\n\n  a1[254] = 0;\n  v1 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);\n  a1[253] = v1;\n  a1[252] = v1;\n  a1[257] = 0;\n  v2 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);\n  a1[256] = v2;\n  a1[255] = v2;\n  a1[260] = 0;\n  result = (unsigned int)(int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);\n  a1[259] = result;\n  a1[258] = result;\n  return result;\n}", "assembly": "; \n; GJGameLevel::unverifyCoins from 0x1005838f0 to 0x10058399f (175 bytes)\n; \n; 2 xrefs:\n; > sub_1006CC260 @ 0x1006cd010\n; > LocalLevelManager::importLevelsFromPaths @ 0x1006cf1ba\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:32:21 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005838f0\nmov     rbp, rsp                                                       ; +0x1, 0x1005838f1\npush    rbx                                                            ; +0x4, 0x1005838f4\npush    rax                                                            ; +0x5, 0x1005838f5\nmov     rbx, rdi                                                       ; +0x6, 0x1005838f6\nmov     dword ptr [rdi+3F8h], 0                                        ; +0x9, 0x1005838f9\ncall    _rand                                                          ; +0x13, 0x100583903\ncvtsi2ss xmm0, eax                                                     ; +0x18, 0x100583908\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x1c, 0x10058390c\nmulss   xmm0, cs:dword_100A03738                                       ; +0x24, 0x100583914\ncvttss2si eax, xmm0                                                    ; +0x2c, 0x10058391c\nmov     [rbx+3F4h], eax                                                ; +0x30, 0x100583920\nmov     [rbx+3F0h], eax                                                ; +0x36, 0x100583926\nmov     dword ptr [rbx+404h], 0                                        ; +0x3c, 0x10058392c\ncall    _rand                                                          ; +0x46, 0x100583936\nxorps   xmm0, xmm0                                                     ; +0x4b, 0x10058393b\ncvtsi2ss xmm0, eax                                                     ; +0x4e, 0x10058393e\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x52, 0x100583942\nmulss   xmm0, cs:dword_100A03738                                       ; +0x5a, 0x10058394a\ncvttss2si eax, xmm0                                                    ; +0x62, 0x100583952\nmov     [rbx+400h], eax                                                ; +0x66, 0x100583956\nmov     [rbx+3FCh], eax                                                ; +0x6c, 0x10058395c\nmov     dword ptr [rbx+410h], 0                                        ; +0x72, 0x100583962\ncall    _rand                                                          ; +0x7c, 0x10058396c\nxorps   xmm0, xmm0                                                     ; +0x81, 0x100583971\ncvtsi2ss xmm0, eax                                                     ; +0x84, 0x100583974\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x88, 0x100583978\nmulss   xmm0, cs:dword_100A03738                                       ; +0x90, 0x100583980\ncvttss2si eax, xmm0                                                    ; +0x98, 0x100583988\nmov     [rbx+40Ch], eax                                                ; +0x9c, 0x10058398c\nmov     [rbx+408h], eax                                                ; +0xa2, 0x100583992\nadd     rsp, 8                                                         ; +0xa8, 0x100583998\npop     rbx                                                            ; +0xac, 0x10058399c\npop     rbp                                                            ; +0xad, 0x10058399d\nretn                                                                   ; +0xae, 0x10058399e", "xrefs": ["sub_1006CC260 @ 0x1006cd010", "LocalLevelManager::importLevelsFromPaths @ 0x1006cf1ba"], "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"}