{"type": "func", "start": 5371244080, "end": 5371244260, "name": "GJGameLevel::unverifyCoins", "pseudocode": "// \n// GJGameLevel::unverifyCoins from 0x14026ae30 to 0x14026aee4 (180 bytes)\n// \n// 7 xrefs:\n// > AutoBackupPopup::onRestore @ 0x1400cbd19\n// > GJGameLevel::copyLevelInfo @ 0x140267185\n// > LevelEditorLayer::saveLevel @ 0x1403ff2b5\n// > LocalLevelManager::tryRecoverAutoSaves @ 0x14046d9d8\n// > LocalLevelManager::importLevelsFromFile @ 0x14046f07e\n// > LocalLevelManager::filesPicked @ 0x14046f4e2\n// > <???> @ 0x14091ca0c\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 11:28:51 +0000\n// \n\n__int64 __fastcall GJGameLevel::unverifyCoins(_DWORD *a1)\n{\n  int v2; // eax\n  int v3; // eax\n  int v4; // eax\n  int v5; // eax\n  __int64 result; // rax\n\n  a1[272] = 0;\n  v2 = rand();\n  a1[275] = 0;\n  v3 = (int)(float)((float)((float)v2 / 32767.0) * 1000.0);\n  a1[271] = v3;\n  a1[270] = v3;\n  v4 = rand();\n  a1[278] = 0;\n  v5 = (int)(float)((float)((float)v4 / 32767.0) * 1000.0);\n  a1[274] = v5;\n  a1[273] = v5;\n  result = (unsigned int)(int)(float)((float)((float)rand() / 32767.0) * 1000.0);\n  a1[277] = result;\n  a1[276] = result;\n  return result;\n}", "assembly": "; \n; GJGameLevel::unverifyCoins from 0x14026ae30 to 0x14026aee4 (180 bytes)\n; \n; 7 xrefs:\n; > AutoBackupPopup::onRestore @ 0x1400cbd19\n; > GJGameLevel::copyLevelInfo @ 0x140267185\n; > LevelEditorLayer::saveLevel @ 0x1403ff2b5\n; > LocalLevelManager::tryRecoverAutoSaves @ 0x14046d9d8\n; > LocalLevelManager::importLevelsFromFile @ 0x14046f07e\n; > LocalLevelManager::filesPicked @ 0x14046f4e2\n; > <???> @ 0x14091ca0c\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 11:28:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x14026ae30\nsub     rsp, 20h                                                       ; +0x2, 0x14026ae32\nmov     rbx, rcx                                                       ; +0x6, 0x14026ae36\nmov     dword ptr [rcx+440h], 0                                        ; +0x9, 0x14026ae39\ncall    cs:rand                                                        ; +0x13, 0x14026ae43\nmov     dword ptr [rbx+44Ch], 0                                        ; +0x19, 0x14026ae49\nmovd    xmm0, eax                                                      ; +0x23, 0x14026ae53\ncvtdq2ps xmm0, xmm0                                                    ; +0x27, 0x14026ae57\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x2a, 0x14026ae5a\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x32, 0x14026ae62\ncvttss2si eax, xmm0                                                    ; +0x3a, 0x14026ae6a\nmov     [rbx+43Ch], eax                                                ; +0x3e, 0x14026ae6e\nmov     [rbx+438h], eax                                                ; +0x44, 0x14026ae74\ncall    cs:rand                                                        ; +0x4a, 0x14026ae7a\nmov     dword ptr [rbx+458h], 0                                        ; +0x50, 0x14026ae80\nmovd    xmm0, eax                                                      ; +0x5a, 0x14026ae8a\ncvtdq2ps xmm0, xmm0                                                    ; +0x5e, 0x14026ae8e\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x61, 0x14026ae91\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x69, 0x14026ae99\ncvttss2si eax, xmm0                                                    ; +0x71, 0x14026aea1\nmov     [rbx+448h], eax                                                ; +0x75, 0x14026aea5\nmov     [rbx+444h], eax                                                ; +0x7b, 0x14026aeab\ncall    cs:rand                                                        ; +0x81, 0x14026aeb1\nmovd    xmm0, eax                                                      ; +0x87, 0x14026aeb7\ncvtdq2ps xmm0, xmm0                                                    ; +0x8b, 0x14026aebb\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x8e, 0x14026aebe\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x96, 0x14026aec6\ncvttss2si eax, xmm0                                                    ; +0x9e, 0x14026aece\nmov     [rbx+454h], eax                                                ; +0xa2, 0x14026aed2\nmov     [rbx+450h], eax                                                ; +0xa8, 0x14026aed8\nadd     rsp, 20h                                                       ; +0xae, 0x14026aede\npop     rbx                                                            ; +0xb2, 0x14026aee2\nretn                                                                   ; +0xb3, 0x14026aee3", "xrefs": ["AutoBackupPopup::onRestore @ 0x1400cbd19", "GJGameLevel::copyLevelInfo @ 0x140267185", "LevelEditorLayer::saveLevel @ 0x1403ff2b5", "LocalLevelManager::tryRecoverAutoSaves @ 0x14046d9d8", "LocalLevelManager::importLevelsFromFile @ 0x14046f07e", "LocalLevelManager::filesPicked @ 0x14046f4e2", "<???> @ 0x14091ca0c"], "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"}