{"type": "func", "start": 5370216352, "end": 5370216532, "name": "GJGameLevel::unverifyCoins", "pseudocode": "// \n// GJGameLevel::unverifyCoins from 0x14016ffa0 to 0x140170054 (180 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::saveLevel @ 0x1400dd917\n// > GJGameLevel::copyLevelInfo @ 0x14016d96f\n// > <???> @ 0x1406cae60\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\nvoid GJGameLevel::unverifyCoins(GJGameLevel *a1)\n{\n  int v2; // eax\n  int v3; // eax\n  int v4; // eax\n  int v5; // eax\n  int v6; // eax\n\n  a1->m_firstCoinVerified.value = 0;\n  v2 = rand();\n  a1->m_secondCoinVerified.value = 0;\n  v3 = (int)(float)((float)((float)v2 / 32767.0) * 1000.0);\n  a1->m_firstCoinVerified.seed = v3;\n  a1->m_firstCoinVerified.random = v3;\n  v4 = rand();\n  a1->m_thirdCoinVerified.value = 0;\n  v5 = (int)(float)((float)((float)v4 / 32767.0) * 1000.0);\n  a1->m_secondCoinVerified.seed = v5;\n  a1->m_secondCoinVerified.random = v5;\n  v6 = (int)(float)((float)((float)rand() / 32767.0) * 1000.0);\n  a1->m_thirdCoinVerified.seed = v6;\n  a1->m_thirdCoinVerified.random = v6;\n}", "assembly": "; \n; GJGameLevel::unverifyCoins from 0x14016ffa0 to 0x140170054 (180 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::saveLevel @ 0x1400dd917\n; > GJGameLevel::copyLevelInfo @ 0x14016d96f\n; > <???> @ 0x1406cae60\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    rbx                                                            ; +0x0, 0x14016ffa0\nsub     rsp, 20h                                                       ; +0x2, 0x14016ffa2\nmov     rbx, rcx                                                       ; +0x6, 0x14016ffa6\nmov     dword ptr [rcx+3CCh], 0                                        ; +0x9, 0x14016ffa9\ncall    cs:rand                                                        ; +0x13, 0x14016ffb3\nmov     dword ptr [rbx+3D8h], 0                                        ; +0x19, 0x14016ffb9\nmovd    xmm0, eax                                                      ; +0x23, 0x14016ffc3\ncvtdq2ps xmm0, xmm0                                                    ; +0x27, 0x14016ffc7\ndivss   xmm0, cs:dword_140623644                                       ; +0x2a, 0x14016ffca\nmulss   xmm0, cs:dword_14062350C                                       ; +0x32, 0x14016ffd2\ncvttss2si eax, xmm0                                                    ; +0x3a, 0x14016ffda\nmov     [rbx+3C8h], eax                                                ; +0x3e, 0x14016ffde\nmov     [rbx+3C4h], eax                                                ; +0x44, 0x14016ffe4\ncall    cs:rand                                                        ; +0x4a, 0x14016ffea\nmov     dword ptr [rbx+3E4h], 0                                        ; +0x50, 0x14016fff0\nmovd    xmm0, eax                                                      ; +0x5a, 0x14016fffa\ncvtdq2ps xmm0, xmm0                                                    ; +0x5e, 0x14016fffe\ndivss   xmm0, cs:dword_140623644                                       ; +0x61, 0x140170001\nmulss   xmm0, cs:dword_14062350C                                       ; +0x69, 0x140170009\ncvttss2si eax, xmm0                                                    ; +0x71, 0x140170011\nmov     [rbx+3D4h], eax                                                ; +0x75, 0x140170015\nmov     [rbx+3D0h], eax                                                ; +0x7b, 0x14017001b\ncall    cs:rand                                                        ; +0x81, 0x140170021\nmovd    xmm0, eax                                                      ; +0x87, 0x140170027\ncvtdq2ps xmm0, xmm0                                                    ; +0x8b, 0x14017002b\ndivss   xmm0, cs:dword_140623644                                       ; +0x8e, 0x14017002e\nmulss   xmm0, cs:dword_14062350C                                       ; +0x96, 0x140170036\ncvttss2si eax, xmm0                                                    ; +0x9e, 0x14017003e\nmov     [rbx+3E0h], eax                                                ; +0xa2, 0x140170042\nmov     [rbx+3DCh], eax                                                ; +0xa8, 0x140170048\nadd     rsp, 20h                                                       ; +0xae, 0x14017004e\npop     rbx                                                            ; +0xb2, 0x140170052\nretn                                                                   ; +0xb3, 0x140170053", "xrefs": ["EditorPauseLayer::saveLevel @ 0x1400dd917", "GJGameLevel::copyLevelInfo @ 0x14016d96f", "<???> @ 0x1406cae60"], "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"}