{"type": "func", "start": 5371989808, "end": 5371989858, "name": "LevelSettingsLayer::onGameplayMode", "pseudocode": "// \n// LevelSettingsLayer::onGameplayMode from 0x140320f30 to 0x140320f62 (50 bytes)\n// \n// 3 xrefs:\n// > LevelSettingsLayer::init @ 0x14031f99e\n// > LevelSettingsLayer::init @ 0x14031faa6\n// > <???> @ 0x1406d4bd4\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::onGameplayMode(LevelSettingsLayer *a1, cocos2d::CCObject *a2)\n{\n  a1->m_settingsObject->m_platformerMode = a2->getTag(a2) == 4;\n  LevelSettingsLayer::updateGameplayModeButtons(a1);\n}", "assembly": "; \n; LevelSettingsLayer::onGameplayMode from 0x140320f30 to 0x140320f62 (50 bytes)\n; \n; 3 xrefs:\n; > LevelSettingsLayer::init @ 0x14031f99e\n; > LevelSettingsLayer::init @ 0x14031faa6\n; > <???> @ 0x1406d4bd4\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, 0x140320f30\nsub     rsp, 20h                                                       ; +0x2, 0x140320f32\nmov     rax, [rdx]                                                     ; +0x6, 0x140320f36\nmov     rbx, rcx                                                       ; +0x9, 0x140320f39\nmov     rcx, rdx                                                       ; +0xc, 0x140320f3c\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x140320f3f\ncmp     eax, 4                                                         ; +0x12, 0x140320f42\nmov     rcx, rbx                                                       ; +0x15, 0x140320f45\nmov     rax, [rbx+318h]                                                ; +0x18, 0x140320f48\nsetz    dl                                                             ; +0x1f, 0x140320f4f\nmov     [rax+155h], dl                                                 ; +0x22, 0x140320f52\nadd     rsp, 20h                                                       ; +0x28, 0x140320f58\npop     rbx                                                            ; +0x2c, 0x140320f5c\njmp     LevelSettingsLayer__updateGameplayModeButtons                  ; +0x2d, 0x140320f5d", "xrefs": ["LevelSettingsLayer::init @ 0x14031f99e", "LevelSettingsLayer::init @ 0x14031faa6", "<???> @ 0x1406d4bd4"], "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"}