{"type": "func", "start": 5369422352, "end": 5369422381, "name": "LevelCell::onToggle", "pseudocode": "// \n// LevelCell::onToggle from 0x1400ae210 to 0x1400ae22d (29 bytes)\n// \n// 1 xrefs:\n// > LevelCell::loadFromLevel @ 0x1400ae12a\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 LevelCell::onToggle(LevelCell *a1, cocos2d::CCObject *a2)\n{\n  GJGameLevel *m_level; // rdx\n\n  m_level = a1->m_level;\n  if ( m_level )\n    m_level->m_selected = !m_level->m_selected;\n}", "assembly": "; \n; LevelCell::onToggle from 0x1400ae210 to 0x1400ae22d (29 bytes)\n; \n; 1 xrefs:\n; > LevelCell::loadFromLevel @ 0x1400ae12a\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\nmov     rdx, [rcx+238h]                                                ; +0x0, 0x1400ae210\ntest    rdx, rdx                                                       ; +0x7, 0x1400ae217\njz      short locret_1400AE22C                                         ; +0xa, 0x1400ae21a\ncmp     byte ptr [rdx+2D7h], 0                                         ; +0xc, 0x1400ae21c\nsetz    al                                                             ; +0x13, 0x1400ae223\nmov     [rdx+2D7h], al                                                 ; +0x16, 0x1400ae226\nretn                                                                   ; +0x1c, 0x1400ae22c", "xrefs": ["LevelCell::loadFromLevel @ 0x1400ae12a"], "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"}