{"type": "func", "start": 5371991504, "end": 5371991556, "name": "LevelSettingsLayer::onOptionToggle", "pseudocode": "// \n// LevelSettingsLayer::onOptionToggle from 0x1403215d0 to 0x140321604 (52 bytes)\n// \n// 2 xrefs:\n// > LevelSettingsLayer::init @ 0x14032041c\n// > <???> @ 0x1406d4c34\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 LevelSettingsLayer::onOptionToggle(LevelSettingsLayer *a1, cocos2d::CCObject *a2)\n{\n  if ( a2->getTag(a2) == 1 )\n    a1->m_settingsObject->m_resetCamera = !a1->m_settingsObject->m_resetCamera;\n}", "assembly": "; \n; LevelSettingsLayer::onOptionToggle from 0x1403215d0 to 0x140321604 (52 bytes)\n; \n; 2 xrefs:\n; > LevelSettingsLayer::init @ 0x14032041c\n; > <???> @ 0x1406d4c34\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    rbx                                                            ; +0x0, 0x1403215d0\nsub     rsp, 20h                                                       ; +0x2, 0x1403215d2\nmov     rax, [rdx]                                                     ; +0x6, 0x1403215d6\nmov     rbx, rcx                                                       ; +0x9, 0x1403215d9\nmov     rcx, rdx                                                       ; +0xc, 0x1403215dc\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x1403215df\ncmp     eax, 1                                                         ; +0x12, 0x1403215e2\njnz     short loc_1403215FE                                            ; +0x15, 0x1403215e5\nmov     rcx, [rbx+318h]                                                ; +0x17, 0x1403215e7\ncmp     byte ptr [rcx+1C0h], 0                                         ; +0x1e, 0x1403215ee\nsetz    al                                                             ; +0x25, 0x1403215f5\nmov     [rcx+1C0h], al                                                 ; +0x28, 0x1403215f8\nadd     rsp, 20h                                                       ; +0x2e, 0x1403215fe\npop     rbx                                                            ; +0x32, 0x140321602\nretn                                                                   ; +0x33, 0x140321603", "xrefs": ["LevelSettingsLayer::init @ 0x14032041c", "<???> @ 0x1406d4c34"], "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"}