{"type": "func", "start": 4295501780, "end": 4295501964, "name": "AccountRegisterLayer::toggleUI", "pseudocode": "// \n// AccountRegisterLayer::toggleUI from 0x1000827d4 to 0x10008288c (184 bytes)\n// \n// 3 xrefs:\n// > AccountRegisterLayer::registerAccountFailed @ 0x1000822c4\n// > sub_10008240C @ 0x100082430\n// > AccountRegisterLayer::showLoadingUI @ 0x100082728\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall AccountRegisterLayer::toggleUI(AccountRegisterLayer *a1, bool a2)\n{\n  _BOOL8 v2; // x19\n\n  v2 = a2;\n  ((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_usernameField->setTouchEnabled)(a1->m_usernameField, v2);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_passwordField->setTouchEnabled)(a1->m_passwordField, v2);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_confirmPasswordField->setTouchEnabled)(\n    a1->m_confirmPasswordField,\n    v2);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_emailField->setTouchEnabled)(a1->m_emailField, v2);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_verifyEmailField->setTouchEnabled)(a1->m_verifyEmailField, v2);\n  ((void (__fastcall *)(AccountRegisterLayer *, _BOOL8))a1->setTouchEnabled)(a1, v2);\n  ((void (__fastcall *)(AccountRegisterLayer *, _BOOL8))a1->setKeypadEnabled)(a1, v2);\n}", "assembly": "; \n; AccountRegisterLayer::toggleUI from 0x1000827d4 to 0x10008288c (184 bytes)\n; \n; 3 xrefs:\n; > AccountRegisterLayer::registerAccountFailed @ 0x1000822c4\n; > sub_10008240C @ 0x100082430\n; > AccountRegisterLayer::showLoadingUI @ 0x100082728\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000827d4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000827d8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000827dc\nMOV             X19, X1                                                ; +0xc, 0x1000827e0\nMOV             X20, X0                                                ; +0x10, 0x1000827e4\nLDR             X0, [X0,#0x220]                                        ; +0x14, 0x1000827e8\nLDR             X8, [X0]                                               ; +0x18, 0x1000827ec\nLDR             X8, [X8,#0x4E8]                                        ; +0x1c, 0x1000827f0\nBLR             X8                                                     ; +0x20, 0x1000827f4\nLDR             X0, [X20,#0x290]                                       ; +0x24, 0x1000827f8\nLDR             X8, [X0]                                               ; +0x28, 0x1000827fc\nLDR             X8, [X8,#0x3D8]                                        ; +0x2c, 0x100082800\nMOV             X1, X19                                                ; +0x30, 0x100082804\nBLR             X8                                                     ; +0x34, 0x100082808\nLDR             X0, [X20,#0x298]                                       ; +0x38, 0x10008280c\nLDR             X8, [X0]                                               ; +0x3c, 0x100082810\nLDR             X8, [X8,#0x3D8]                                        ; +0x40, 0x100082814\nMOV             X1, X19                                                ; +0x44, 0x100082818\nBLR             X8                                                     ; +0x48, 0x10008281c\nLDR             X0, [X20,#0x2A0]                                       ; +0x4c, 0x100082820\nLDR             X8, [X0]                                               ; +0x50, 0x100082824\nLDR             X8, [X8,#0x3D8]                                        ; +0x54, 0x100082828\nMOV             X1, X19                                                ; +0x58, 0x10008282c\nBLR             X8                                                     ; +0x5c, 0x100082830\nLDR             X0, [X20,#0x2A8]                                       ; +0x60, 0x100082834\nLDR             X8, [X0]                                               ; +0x64, 0x100082838\nLDR             X8, [X8,#0x3D8]                                        ; +0x68, 0x10008283c\nMOV             X1, X19                                                ; +0x6c, 0x100082840\nBLR             X8                                                     ; +0x70, 0x100082844\nLDR             X0, [X20,#0x2B0]                                       ; +0x74, 0x100082848\nLDR             X8, [X0]                                               ; +0x78, 0x10008284c\nLDR             X8, [X8,#0x3D8]                                        ; +0x7c, 0x100082850\nMOV             X1, X19                                                ; +0x80, 0x100082854\nBLR             X8                                                     ; +0x84, 0x100082858\nLDR             X8, [X20]                                              ; +0x88, 0x10008285c\nLDR             X8, [X8,#0x3D8]                                        ; +0x8c, 0x100082860\nMOV             X0, X20                                                ; +0x90, 0x100082864\nMOV             X1, X19                                                ; +0x94, 0x100082868\nBLR             X8                                                     ; +0x98, 0x10008286c\nLDR             X8, [X20]                                              ; +0x9c, 0x100082870\nLDR             X2, [X8,#0x420]                                        ; +0xa0, 0x100082874\nMOV             X0, X20                                                ; +0xa4, 0x100082878\nMOV             X1, X19                                                ; +0xa8, 0x10008287c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xac, 0x100082880\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb0, 0x100082884\nBR              X2                                                     ; +0xb4, 0x100082888", "xrefs": ["AccountRegisterLayer::registerAccountFailed @ 0x1000822c4", "sub_10008240C @ 0x100082430", "AccountRegisterLayer::showLoadingUI @ 0x100082728"], "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"}