{"type": "func", "start": 5369209136, "end": 5369209399, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x14007a130 to 0x14007a237 (263 bytes)\n// \n// 2 xrefs:\n// > AccountRegisterLayer::textInputClosed @ 0x14007ae1a\n// > <???> @ 0x1406c6720\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::resetLabel(AccountRegisterLayer *a1, int a2)\n{\n  int v3; // edx\n  int v4; // edx\n  int v5; // edx\n  int v6; // edx\n  cocos2d::CCLabelBMFont *m_usernameLabel; // rcx\n\n  v3 = a2 - 1;\n  if ( !v3 )\n  {\n    a1->m_usernameLabel->setString(&a1->m_usernameLabel->cocos2d::CCLabelProtocol, (const char *)&xmmword_140538FF0);\n    m_usernameLabel = a1->m_usernameLabel;\n    goto LABEL_12;\n  }\n  v4 = v3 - 1;\n  if ( !v4 )\n  {\n    a1->m_passwordLabel->setString(&a1->m_passwordLabel->cocos2d::CCLabelProtocol, (const char *)&qword_140539098);\n    m_usernameLabel = a1->m_passwordLabel;\n    goto LABEL_12;\n  }\n  v5 = v4 - 1;\n  if ( !v5 )\n  {\n    a1->m_confirmPasswordLabel->setString(\n      &a1->m_confirmPasswordLabel->cocos2d::CCLabelProtocol,\n      (const char *)&xmmword_140539110);\n    m_usernameLabel = a1->m_confirmPasswordLabel;\n    goto LABEL_12;\n  }\n  v6 = v5 - 1;\n  if ( !v6 )\n  {\n    a1->m_emailLabel->setString(&a1->m_emailLabel->cocos2d::CCLabelProtocol, (const char *)&dword_1405390F0);\n    a1->m_emailLabel->setColor(&a1->m_emailLabel->cocos2d::CCRGBAProtocol, &stru_1405299D0);\n    goto LABEL_8;\n  }\n  if ( v6 == 1 )\n  {\nLABEL_8:\n    a1->m_verifyEmailLabel->setString(&a1->m_verifyEmailLabel->cocos2d::CCLabelProtocol, (const char *)&qword_140539150);\n    m_usernameLabel = a1->m_verifyEmailLabel;\nLABEL_12:\n    m_usernameLabel->setColor(&m_usernameLabel->cocos2d::CCRGBAProtocol, &stru_1405299D0);\n  }\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x14007a130 to 0x14007a237 (263 bytes)\n; \n; 2 xrefs:\n; > AccountRegisterLayer::textInputClosed @ 0x14007ae1a\n; > <???> @ 0x1406c6720\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    rbx                                                            ; +0x0, 0x14007a130\nsub     rsp, 20h                                                       ; +0x2, 0x14007a132\nmov     rbx, rcx                                                       ; +0x6, 0x14007a136\nsub     edx, 1                                                         ; +0x9, 0x14007a139\njz      loc_14007A1FD                                                  ; +0xc, 0x14007a13c\nsub     edx, 1                                                         ; +0x12, 0x14007a142\njz      loc_14007A1DA                                                  ; +0x15, 0x14007a145\nsub     edx, 1                                                         ; +0x1b, 0x14007a14b\njz      short loc_14007A1B7                                            ; +0x1e, 0x14007a14e\nsub     edx, 1                                                         ; +0x20, 0x14007a150\njz      short loc_14007A160                                            ; +0x23, 0x14007a153\ncmp     edx, 1                                                         ; +0x25, 0x14007a155\njz      short loc_14007A194                                            ; +0x28, 0x14007a158\nadd     rsp, 20h                                                       ; +0x2a, 0x14007a15a\npop     rbx                                                            ; +0x2e, 0x14007a15e\nretn                                                                   ; +0x2f, 0x14007a15f\nmov     rcx, [rcx+2D0h]                                                ; +0x30, 0x14007a160\nlea     rdx, dword_1405390F0                                           ; +0x37, 0x14007a167\nadd     rcx, 168h                                                      ; +0x3e, 0x14007a16e\nmov     rax, [rcx]                                                     ; +0x45, 0x14007a175\ncall    qword ptr [rax]                                                ; +0x48, 0x14007a178\nmov     rcx, [rbx+2D0h]                                                ; +0x4a, 0x14007a17a\nlea     rdx, stru_1405299D0                                            ; +0x51, 0x14007a181\nadd     rcx, 170h                                                      ; +0x58, 0x14007a188\nmov     rax, [rcx]                                                     ; +0x5f, 0x14007a18f\ncall    qword ptr [rax]                                                ; +0x62, 0x14007a192\nmov     rcx, [rbx+2D8h]                                                ; +0x64, 0x14007a194\nlea     rdx, qword_140539150                                           ; +0x6b, 0x14007a19b\nadd     rcx, 168h                                                      ; +0x72, 0x14007a1a2\nmov     rax, [rcx]                                                     ; +0x79, 0x14007a1a9\ncall    qword ptr [rax]                                                ; +0x7c, 0x14007a1ac\nmov     rcx, [rbx+2D8h]                                                ; +0x7e, 0x14007a1ae\njmp     short loc_14007A21E                                            ; +0x85, 0x14007a1b5\nmov     rcx, [rcx+2C8h]                                                ; +0x87, 0x14007a1b7\nlea     rdx, xmmword_140539110                                         ; +0x8e, 0x14007a1be\nadd     rcx, 168h                                                      ; +0x95, 0x14007a1c5\nmov     rax, [rcx]                                                     ; +0x9c, 0x14007a1cc\ncall    qword ptr [rax]                                                ; +0x9f, 0x14007a1cf\nmov     rcx, [rbx+2C8h]                                                ; +0xa1, 0x14007a1d1\njmp     short loc_14007A21E                                            ; +0xa8, 0x14007a1d8\nmov     rcx, [rcx+2C0h]                                                ; +0xaa, 0x14007a1da\nlea     rdx, qword_140539098                                           ; +0xb1, 0x14007a1e1\nadd     rcx, 168h                                                      ; +0xb8, 0x14007a1e8\nmov     rax, [rcx]                                                     ; +0xbf, 0x14007a1ef\ncall    qword ptr [rax]                                                ; +0xc2, 0x14007a1f2\nmov     rcx, [rbx+2C0h]                                                ; +0xc4, 0x14007a1f4\njmp     short loc_14007A21E                                            ; +0xcb, 0x14007a1fb\nmov     rcx, [rcx+2B8h]                                                ; +0xcd, 0x14007a1fd\nlea     rdx, xmmword_140538FF0                                         ; +0xd4, 0x14007a204\nadd     rcx, 168h                                                      ; +0xdb, 0x14007a20b\nmov     rax, [rcx]                                                     ; +0xe2, 0x14007a212\ncall    qword ptr [rax]                                                ; +0xe5, 0x14007a215\nmov     rcx, [rbx+2B8h]                                                ; +0xe7, 0x14007a217\nadd     rcx, 170h                                                      ; +0xee, 0x14007a21e\nlea     rdx, stru_1405299D0                                            ; +0xf5, 0x14007a225\nmov     rax, [rcx]                                                     ; +0xfc, 0x14007a22c\nadd     rsp, 20h                                                       ; +0xff, 0x14007a22f\npop     rbx                                                            ; +0x103, 0x14007a233\njmp     qword ptr [rax]                                                ; +0x104, 0x14007a234", "xrefs": ["AccountRegisterLayer::textInputClosed @ 0x14007ae1a", "<???> @ 0x1406c6720"], "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"}