{"type": "func", "start": 4295673540, "end": 4295673668, "name": "GJGameLevel::unverifyCoins", "pseudocode": "// \n// GJGameLevel::unverifyCoins from 0x1000ac6c4 to 0x1000ac744 (128 bytes)\n// \n// 2 xrefs:\n// > GJGameLevel::levelWasAltered @ 0x1000ac67c\n// > GJGameLevel::copyLevelInfo @ 0x1000ad89c\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 __fastcall GJGameLevel::unverifyCoins(GJGameLevel *a1)\n{\n  int v2; // w8\n  int v3; // w8\n  int v4; // w8\n\n  a1->m_firstCoinVerified.value = 0;\n  v2 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  a1->m_firstCoinVerified.seed = v2;\n  a1->m_firstCoinVerified.random = v2;\n  a1->m_secondCoinVerified.value = 0;\n  v3 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  a1->m_secondCoinVerified.seed = v3;\n  a1->m_secondCoinVerified.random = v3;\n  a1->m_thirdCoinVerified.value = 0;\n  v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n  a1->m_thirdCoinVerified.seed = v4;\n  a1->m_thirdCoinVerified.random = v4;\n}", "assembly": "; \n; GJGameLevel::unverifyCoins from 0x1000ac6c4 to 0x1000ac744 (128 bytes)\n; \n; 2 xrefs:\n; > GJGameLevel::levelWasAltered @ 0x1000ac67c\n; > GJGameLevel::copyLevelInfo @ 0x1000ad89c\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\nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1000ac6c4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000ac6c8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000ac6cc\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000ac6d0\nMOV             X19, X0                                                ; +0x10, 0x1000ac6d4\nSTR             WZR, [X0,#0x384]                                       ; +0x14, 0x1000ac6d8\nBL              _rand                                                  ; +0x18, 0x1000ac6dc\nSCVTF           S0, W0, #0x1F                                          ; +0x1c, 0x1000ac6e0\nMOV             W8, #0x447A0000                                        ; +0x20, 0x1000ac6e4\nFMOV            S8, W8                                                 ; +0x24, 0x1000ac6e8\nFMUL            S0, S0, S8                                             ; +0x28, 0x1000ac6ec\nFCVTZS          W8, S0                                                 ; +0x2c, 0x1000ac6f0\nSTR             W8, [X19,#0x380]                                       ; +0x30, 0x1000ac6f4\nSTR             W8, [X19,#0x37C]                                       ; +0x34, 0x1000ac6f8\nSTR             WZR, [X19,#0x390]                                      ; +0x38, 0x1000ac6fc\nBL              _rand                                                  ; +0x3c, 0x1000ac700\nSCVTF           S0, W0, #0x1F                                          ; +0x40, 0x1000ac704\nFMUL            S0, S0, S8                                             ; +0x44, 0x1000ac708\nFCVTZS          W8, S0                                                 ; +0x48, 0x1000ac70c\nSTR             W8, [X19,#0x38C]                                       ; +0x4c, 0x1000ac710\nSTR             W8, [X19,#0x388]                                       ; +0x50, 0x1000ac714\nSTR             WZR, [X19,#0x39C]                                      ; +0x54, 0x1000ac718\nBL              _rand                                                  ; +0x58, 0x1000ac71c\nSCVTF           S0, W0, #0x1F                                          ; +0x5c, 0x1000ac720\nFMUL            S0, S0, S8                                             ; +0x60, 0x1000ac724\nFCVTZS          W8, S0                                                 ; +0x64, 0x1000ac728\nSTR             W8, [X19,#0x398]                                       ; +0x68, 0x1000ac72c\nSTR             W8, [X19,#0x394]                                       ; +0x6c, 0x1000ac730\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x1000ac734\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x1000ac738\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x78, 0x1000ac73c\nRET                                                                    ; +0x7c, 0x1000ac740", "xrefs": ["GJGameLevel::levelWasAltered @ 0x1000ac67c", "GJGameLevel::copyLevelInfo @ 0x1000ad89c"], "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"}