{"type": "func", "start": 3970096, "end": 3970148, "name": "GJGameLevel::shouldCheatReset", "pseudocode": "// \n// GJGameLevel::shouldCheatReset from 0x3c9430 to 0x3c9464 (52 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::verifyLevelState @ 0x3c9476\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  return a1->m_stars.random - a1->m_stars.seed > 7\n      && a1->m_jumps.random - a1->m_jumps.seed <= 49\n      && a1->m_clicks.random - a1->m_clicks.seed <= 49;\n}", "assembly": "; \n; GJGameLevel::shouldCheatReset from 0x3c9430 to 0x3c9464 (52 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::verifyLevelState @ 0x3c9476\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.W           R3, [R0,#0x24C]                                        ; +0x0, 0x3c9430\nLDR.W           R2, [R0,#0x250]                                        ; +0x4, 0x3c9434\nSUBS            R3, R3, R2                                             ; +0x8, 0x3c9438\nCMP             R3, #7                                                 ; +0xa, 0x3c943a\nBLE             loc_3C9460                                             ; +0xc, 0x3c943c\nLDR.W           R3, [R0,#0x1C0]                                        ; +0xe, 0x3c943e\nLDR.W           R2, [R0,#0x1C4]                                        ; +0x12, 0x3c9442\nSUBS            R3, R3, R2                                             ; +0x16, 0x3c9446\nCMP             R3, #0x31 ; '1'                                        ; +0x18, 0x3c9448\nBGT             loc_3C9460                                             ; +0x1a, 0x3c944a\nLDR.W           R3, [R0,#0x1CC]                                        ; +0x1c, 0x3c944c\nLDR.W           R0, [R0,#0x1D0]                                        ; +0x20, 0x3c9450\nSUBS            R0, R3, R0                                             ; +0x24, 0x3c9454\nCMP             R0, #0x31 ; '1'                                        ; +0x26, 0x3c9456\nITE GT                                                                 ; +0x28, 0x3c9458\nMOVGT           R0, #0                                                 ; +0x2a, 0x3c945a\nMOVLE           R0, #1                                                 ; +0x2c, 0x3c945c\nBX              LR                                                     ; +0x2e, 0x3c945e\nMOVS            R0, #0                                                 ; +0x30, 0x3c9460\nBX              LR                                                     ; +0x32, 0x3c9462", "xrefs": ["GameLevelManager::verifyLevelState @ 0x3c9476"], "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"}