{"type": "func", "start": 4616410, "end": 4616444, "name": "AccountLayer::toggleUI", "pseudocode": "// \n// AccountLayer::toggleUI from 0x4670da to 0x4670fc (34 bytes)\n// \n// 2 xrefs:\n// > AccountLayer::showLoadingUI @ 0x467102\n// > AccountLayer::hideLoadingUI @ 0x4671d6\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 AccountLayer::toggleUI(AccountLayer *a1, bool a2)\n{\n  _BOOL4 v3; // r5\n\n  v3 = a2;\n  ((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);\n  a1->setKeypadEnabled(a1, v3);\n}", "assembly": "; \n; AccountLayer::toggleUI from 0x4670da to 0x4670fc (34 bytes)\n; \n; 2 xrefs:\n; > AccountLayer::showLoadingUI @ 0x467102\n; > AccountLayer::hideLoadingUI @ 0x4671d6\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            {R4-R6,LR}                                             ; +0x0, 0x4670da\nMOV             R4, R0                                                 ; +0x2, 0x4670dc\nLDR.W           R0, [R0,#0x1C8]                                        ; +0x4, 0x4670de\nMOV             R5, R1                                                 ; +0x8, 0x4670e2\nLDR             R3, [R0]                                               ; +0xa, 0x4670e4\nLDR.W           R3, [R3,#0x274]                                        ; +0xc, 0x4670e6\nBLX             R3                                                     ; +0x10, 0x4670ea\nLDR             R3, [R4]                                               ; +0x12, 0x4670ec\nMOV             R0, R4                                                 ; +0x14, 0x4670ee\nMOV             R1, R5                                                 ; +0x16, 0x4670f0\nPOP.W           {R4-R6,LR}                                             ; +0x18, 0x4670f2\nLDR.W           R3, [R3,#0x210]                                        ; +0x1c, 0x4670f6\nBX              R3                                                     ; +0x20, 0x4670fa", "xrefs": ["AccountLayer::showLoadingUI @ 0x467102", "AccountLayer::hideLoadingUI @ 0x4671d6"], "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"}