{"type": "func", "start": 5373272352, "end": 5373272402, "name": "LevelSettingsLayer::onGameplayMode", "pseudocode": "// \n// LevelSettingsLayer::onGameplayMode from 0x14045a120 to 0x14045a152 (50 bytes)\n// \n// 3 xrefs:\n// > LevelSettingsLayer::init @ 0x140458b45\n// > LevelSettingsLayer::init @ 0x140458c5c\n// > <???> @ 0x140927bd8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:32:31 +0000\n// \n\n__int64 __fastcall LevelSettingsLayer::onGameplayMode(__int64 a1, __int64 a2)\n{\n  *(_BYTE *)(*(_QWORD *)(a1 + 816) + 341LL) = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 4;\n  return LevelSettingsLayer::updateGameplayModeButtons(a1);\n}", "assembly": "; \n; LevelSettingsLayer::onGameplayMode from 0x14045a120 to 0x14045a152 (50 bytes)\n; \n; 3 xrefs:\n; > LevelSettingsLayer::init @ 0x140458b45\n; > LevelSettingsLayer::init @ 0x140458c5c\n; > <???> @ 0x140927bd8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:32:31 +0000\n; \npush    rbx                                                            ; +0x0, 0x14045a120\nsub     rsp, 20h                                                       ; +0x2, 0x14045a122\nmov     rax, [rdx]                                                     ; +0x6, 0x14045a126\nmov     rbx, rcx                                                       ; +0x9, 0x14045a129\nmov     rcx, rdx                                                       ; +0xc, 0x14045a12c\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x14045a12f\ncmp     eax, 4                                                         ; +0x12, 0x14045a132\nmov     rcx, rbx                                                       ; +0x15, 0x14045a135\nmov     rax, [rbx+330h]                                                ; +0x18, 0x14045a138\nsetz    dl                                                             ; +0x1f, 0x14045a13f\nmov     [rax+155h], dl                                                 ; +0x22, 0x14045a142\nadd     rsp, 20h                                                       ; +0x28, 0x14045a148\npop     rbx                                                            ; +0x2c, 0x14045a14c\njmp     LevelSettingsLayer__updateGameplayModeButtons                  ; +0x2d, 0x14045a14d", "xrefs": ["LevelSettingsLayer::init @ 0x140458b45", "LevelSettingsLayer::init @ 0x140458c5c", "<???> @ 0x140927bd8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}