{"type": "func", "start": 3970584, "end": 3970716, "name": "GJGameLevel::unverifyCoins", "pseudocode": "// \n// GJGameLevel::unverifyCoins from 0x3c9618 to 0x3c969c (132 bytes)\n// \n// 2 xrefs:\n// > GJGameLevel::levelWasAltered @ 0x3c96d6\n// > GJGameLevel::copyLevelInfo @ 0x3c97bc\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; // r0\n  int v3; // s15\n  int v4; // r0\n  int v5; // s15\n  int v6; // s15\n\n  a1->m_firstCoinVerified.value = 0;\n  v2 = rand();\n  a1->m_secondCoinVerified.value = 0;\n  v3 = (int)(float)((float)((float)v2 * 4.6566e-10) * 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 * 4.6566e-10) * 1000.0);\n  a1->m_secondCoinVerified.seed = v5;\n  a1->m_secondCoinVerified.random = v5;\n  v6 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0);\n  a1->m_thirdCoinVerified.seed = v6;\n  a1->m_thirdCoinVerified.random = v6;\n}", "assembly": "; \n; GJGameLevel::unverifyCoins from 0x3c9618 to 0x3c969c (132 bytes)\n; \n; 2 xrefs:\n; > GJGameLevel::levelWasAltered @ 0x3c96d6\n; > GJGameLevel::copyLevelInfo @ 0x3c97bc\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            {R3-R5,LR}                                             ; +0x0, 0x3c9618\nMOVS            R5, #0                                                 ; +0x2, 0x3c961a\nVPUSH           {D8}                                                   ; +0x4, 0x3c961c\nMOV             R4, R0                                                 ; +0x8, 0x3c9620\nSTR.W           R5, [R0,#0x290]                                        ; +0xa, 0x3c9622\nBLX             rand                                                   ; +0xe, 0x3c9626\nSTR.W           R5, [R4,#0x29C]                                        ; +0x12, 0x3c962a\nVLDR            S17, =4.6566e-10                                       ; +0x16, 0x3c962e\nVLDR            S16, =1000.0                                           ; +0x1a, 0x3c9632\nVMOV            S15, R0                                                ; +0x1e, 0x3c9636\nVCVT.F32.S32    S15, S15                                               ; +0x22, 0x3c963a\nVMUL.F32        S15, S15, S17                                          ; +0x26, 0x3c963e\nVMUL.F32        S15, S15, S16                                          ; +0x2a, 0x3c9642\nVCVT.S32.F32    S15, S15                                               ; +0x2e, 0x3c9646\nVSTR            S15, [R4,#0x28C]                                       ; +0x32, 0x3c964a\nVSTR            S15, [R4,#0x288]                                       ; +0x36, 0x3c964e\nBLX             rand                                                   ; +0x3a, 0x3c9652\nSTR.W           R5, [R4,#0x2A8]                                        ; +0x3e, 0x3c9656\nVMOV            S15, R0                                                ; +0x42, 0x3c965a\nVCVT.F32.S32    S15, S15                                               ; +0x46, 0x3c965e\nVMUL.F32        S15, S15, S17                                          ; +0x4a, 0x3c9662\nVMUL.F32        S15, S15, S16                                          ; +0x4e, 0x3c9666\nVCVT.S32.F32    S15, S15                                               ; +0x52, 0x3c966a\nVSTR            S15, [R4,#0x298]                                       ; +0x56, 0x3c966e\nVSTR            S15, [R4,#0x294]                                       ; +0x5a, 0x3c9672\nBLX             rand                                                   ; +0x5e, 0x3c9676\nVMOV            S15, R0                                                ; +0x62, 0x3c967a\nVCVT.F32.S32    S15, S15                                               ; +0x66, 0x3c967e\nVMUL.F32        S15, S15, S17                                          ; +0x6a, 0x3c9682\nVMUL.F32        S15, S15, S16                                          ; +0x6e, 0x3c9686\nVPOP            {D8}                                                   ; +0x72, 0x3c968a\nVCVT.S32.F32    S15, S15                                               ; +0x76, 0x3c968e\nVSTR            S15, [R4,#0x2A4]                                       ; +0x7a, 0x3c9692\nVSTR            S15, [R4,#0x2A0]                                       ; +0x7e, 0x3c9696\nPOP             {R3-R5,PC}                                             ; +0x82, 0x3c969a", "xrefs": ["GJGameLevel::levelWasAltered @ 0x3c96d6", "GJGameLevel::copyLevelInfo @ 0x3c97bc"], "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"}