{"type": "func", "start": 7386052, "end": 7386124, "name": "GJGameLevel::shouldCheatReset", "pseudocode": "// \n// GJGameLevel::shouldCheatReset from 0x70b3c4 to 0x70b40c (72 bytes)\n// \n// 2 xrefs:\n// > GameLevelManager::verifyLevelState @ 0x70b448\n// > <???> @ 0x39a38\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\nbool GJGameLevel::shouldCheatReset(GJGameLevel *a1)\n{\n  bool v1; // w2\n\n  v1 = 0;\n  if ( a1->m_stars.random - a1->m_stars.seed > 7 && a1->m_jumps.random - a1->m_jumps.seed <= 49 )\n    return a1->m_clicks.random - a1->m_clicks.seed <= 49;\n  return v1;\n}", "assembly": "; \n; GJGameLevel::shouldCheatReset from 0x70b3c4 to 0x70b40c (72 bytes)\n; \n; 2 xrefs:\n; > GameLevelManager::verifyLevelState @ 0x70b448\n; > <???> @ 0x39a38\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\nLDR             W1, [X0,#0x2B0]                                        ; +0x0, 0x70b3c4\nMOV             W2, #0                                                 ; +0x4, 0x70b3c8\nLDR             W3, [X0,#0x2B4]                                        ; +0x8, 0x70b3cc\nSUB             W1, W1, W3                                             ; +0xc, 0x70b3d0\nCMP             W1, #7                                                 ; +0x10, 0x70b3d4\nB.LE            loc_70B404                                             ; +0x14, 0x70b3d8\nLDR             W1, [X0,#0x224]                                        ; +0x18, 0x70b3dc\nLDR             W3, [X0,#0x228]                                        ; +0x1c, 0x70b3e0\nSUB             W1, W1, W3                                             ; +0x20, 0x70b3e4\nCMP             W1, #0x31 ; '1'                                        ; +0x24, 0x70b3e8\nB.GT            loc_70B404                                             ; +0x28, 0x70b3ec\nLDR             W1, [X0,#0x230]                                        ; +0x2c, 0x70b3f0\nLDR             W0, [X0,#0x234]                                        ; +0x30, 0x70b3f4\nSUB             W0, W1, W0                                             ; +0x34, 0x70b3f8\nCMP             W0, #0x31 ; '1'                                        ; +0x38, 0x70b3fc\nCSET            W2, LE                                                 ; +0x3c, 0x70b400\nMOV             W0, W2                                                 ; +0x40, 0x70b404\nRET                                                                    ; +0x44, 0x70b408", "xrefs": ["GameLevelManager::verifyLevelState @ 0x70b448", "<???> @ 0x39a38"], "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"}