{"type": "func", "start": 4295508984, "end": 4295509108, "name": "AccountLoginLayer::toggleUI", "pseudocode": "// \n// AccountLoginLayer::toggleUI from 0x1000843f8 to 0x100084474 (124 bytes)\n// \n// 4 xrefs:\n// > AccountLoginLayer::loginAccountFinished @ 0x100083fb0\n// > AccountLoginLayer::loginAccountFailed @ 0x1000840c8\n// > sub_1000841D4 @ 0x1000841f8\n// > AccountLoginLayer::showLoadingUI @ 0x100084368\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 AccountLoginLayer::toggleUI(AccountLoginLayer *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_usernameInput->setTouchEnabled)(a1->m_usernameInput, v2);\n  ((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_passwordInput->setTouchEnabled)(a1->m_passwordInput, v2);\n  ((void (__fastcall *)(AccountLoginLayer *, _BOOL8))a1->setTouchEnabled)(a1, v2);\n  ((void (__fastcall *)(AccountLoginLayer *, _BOOL8))a1->setKeypadEnabled)(a1, v2);\n}", "assembly": "; \n; AccountLoginLayer::toggleUI from 0x1000843f8 to 0x100084474 (124 bytes)\n; \n; 4 xrefs:\n; > AccountLoginLayer::loginAccountFinished @ 0x100083fb0\n; > AccountLoginLayer::loginAccountFailed @ 0x1000840c8\n; > sub_1000841D4 @ 0x1000841f8\n; > AccountLoginLayer::showLoadingUI @ 0x100084368\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, 0x1000843f8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000843fc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100084400\nMOV             X19, X1                                                ; +0xc, 0x100084404\nMOV             X20, X0                                                ; +0x10, 0x100084408\nLDR             X0, [X0,#0x220]                                        ; +0x14, 0x10008440c\nLDR             X8, [X0]                                               ; +0x18, 0x100084410\nLDR             X8, [X8,#0x4E8]                                        ; +0x1c, 0x100084414\nBLR             X8                                                     ; +0x20, 0x100084418\nLDR             X0, [X20,#0x290]                                       ; +0x24, 0x10008441c\nLDR             X8, [X0]                                               ; +0x28, 0x100084420\nLDR             X8, [X8,#0x3D8]                                        ; +0x2c, 0x100084424\nMOV             X1, X19                                                ; +0x30, 0x100084428\nBLR             X8                                                     ; +0x34, 0x10008442c\nLDR             X0, [X20,#0x298]                                       ; +0x38, 0x100084430\nLDR             X8, [X0]                                               ; +0x3c, 0x100084434\nLDR             X8, [X8,#0x3D8]                                        ; +0x40, 0x100084438\nMOV             X1, X19                                                ; +0x44, 0x10008443c\nBLR             X8                                                     ; +0x48, 0x100084440\nLDR             X8, [X20]                                              ; +0x4c, 0x100084444\nLDR             X8, [X8,#0x3D8]                                        ; +0x50, 0x100084448\nMOV             X0, X20                                                ; +0x54, 0x10008444c\nMOV             X1, X19                                                ; +0x58, 0x100084450\nBLR             X8                                                     ; +0x5c, 0x100084454\nLDR             X8, [X20]                                              ; +0x60, 0x100084458\nLDR             X2, [X8,#0x420]                                        ; +0x64, 0x10008445c\nMOV             X0, X20                                                ; +0x68, 0x100084460\nMOV             X1, X19                                                ; +0x6c, 0x100084464\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x100084468\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x10008446c\nBR              X2                                                     ; +0x78, 0x100084470", "xrefs": ["AccountLoginLayer::loginAccountFinished @ 0x100083fb0", "AccountLoginLayer::loginAccountFailed @ 0x1000840c8", "sub_1000841D4 @ 0x1000841f8", "AccountLoginLayer::showLoadingUI @ 0x100084368"], "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"}