{"type": "func", "start": 5369212128, "end": 5369212296, "name": "AccountRegisterLayer::toggleUI", "pseudocode": "// \n// AccountRegisterLayer::toggleUI from 0x14007ace0 to 0x14007ad88 (168 bytes)\n// \n// 3 xrefs:\n// > AccountRegisterLayer::registerAccountFailed @ 0x140079f0a\n// > AccountRegisterLayer::onSubmit @ 0x14007aa06\n// > <???> @ 0x1406c6768\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 AccountRegisterLayer::toggleUI(AccountRegisterLayer *a1, bool a2)\n{\n  ((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);\n  a1->m_usernameField->setTouchEnabled(a1->m_usernameField, a2);\n  a1->m_passwordField->setTouchEnabled(a1->m_passwordField, a2);\n  a1->m_confirmPasswordField->setTouchEnabled(a1->m_confirmPasswordField, a2);\n  a1->m_emailField->setTouchEnabled(a1->m_emailField, a2);\n  a1->m_verifyEmailField->setTouchEnabled(a1->m_verifyEmailField, a2);\n  a1->setTouchEnabled(a1, a2);\n  a1->setKeypadEnabled(a1, a2);\n}", "assembly": "; \n; AccountRegisterLayer::toggleUI from 0x14007ace0 to 0x14007ad88 (168 bytes)\n; \n; 3 xrefs:\n; > AccountRegisterLayer::registerAccountFailed @ 0x140079f0a\n; > AccountRegisterLayer::onSubmit @ 0x14007aa06\n; > <???> @ 0x1406c6768\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     [rsp+arg_0], rbx                                               ; +0x0, 0x14007ace0\npush    rdi                                                            ; +0x5, 0x14007ace5\nsub     rsp, 20h                                                       ; +0x6, 0x14007ace6\nmov     rdi, rcx                                                       ; +0xa, 0x14007acea\nmovzx   ebx, dl                                                        ; +0xd, 0x14007aced\nmov     rcx, [rcx+220h]                                                ; +0x10, 0x14007acf0\nmov     rax, [rcx]                                                     ; +0x17, 0x14007acf7\ncall    qword ptr [rax+400h]                                           ; +0x1a, 0x14007acfa\nmov     rcx, [rdi+290h]                                                ; +0x20, 0x14007ad00\nmovzx   edx, bl                                                        ; +0x27, 0x14007ad07\nmov     rax, [rcx]                                                     ; +0x2a, 0x14007ad0a\ncall    qword ptr [rax+388h]                                           ; +0x2d, 0x14007ad0d\nmov     rcx, [rdi+298h]                                                ; +0x33, 0x14007ad13\nmovzx   edx, bl                                                        ; +0x3a, 0x14007ad1a\nmov     rax, [rcx]                                                     ; +0x3d, 0x14007ad1d\ncall    qword ptr [rax+388h]                                           ; +0x40, 0x14007ad20\nmov     rcx, [rdi+2A0h]                                                ; +0x46, 0x14007ad26\nmovzx   edx, bl                                                        ; +0x4d, 0x14007ad2d\nmov     rax, [rcx]                                                     ; +0x50, 0x14007ad30\ncall    qword ptr [rax+388h]                                           ; +0x53, 0x14007ad33\nmov     rcx, [rdi+2A8h]                                                ; +0x59, 0x14007ad39\nmovzx   edx, bl                                                        ; +0x60, 0x14007ad40\nmov     rax, [rcx]                                                     ; +0x63, 0x14007ad43\ncall    qword ptr [rax+388h]                                           ; +0x66, 0x14007ad46\nmov     rcx, [rdi+2B0h]                                                ; +0x6c, 0x14007ad4c\nmovzx   edx, bl                                                        ; +0x73, 0x14007ad53\nmov     rax, [rcx]                                                     ; +0x76, 0x14007ad56\ncall    qword ptr [rax+388h]                                           ; +0x79, 0x14007ad59\nmov     rax, [rdi]                                                     ; +0x7f, 0x14007ad5f\nmovzx   edx, bl                                                        ; +0x82, 0x14007ad62\nmov     rcx, rdi                                                       ; +0x85, 0x14007ad65\ncall    qword ptr [rax+388h]                                           ; +0x88, 0x14007ad68\nmov     rax, [rdi]                                                     ; +0x8e, 0x14007ad6e\nmovzx   edx, bl                                                        ; +0x91, 0x14007ad71\nmov     rcx, rdi                                                       ; +0x94, 0x14007ad74\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x97, 0x14007ad77\nadd     rsp, 20h                                                       ; +0x9c, 0x14007ad7c\npop     rdi                                                            ; +0xa0, 0x14007ad80\njmp     qword ptr [rax+3D0h]                                           ; +0xa1, 0x14007ad81", "xrefs": ["AccountRegisterLayer::registerAccountFailed @ 0x140079f0a", "AccountRegisterLayer::onSubmit @ 0x14007aa06", "<???> @ 0x1406c6768"], "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"}