{"type": "func", "start": 5369291408, "end": 5369291734, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x14008e290 to 0x14008e3d6 (326 bytes)\n// \n// 2 xrefs:\n// > AccountRegisterLayer::textInputClosed @ 0x14008f15f\n// > <???> @ 0x1409129a4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:59 +0000\n// \n\n__int64 __fastcall AccountRegisterLayer::resetLabel(_QWORD *a1, int a2)\n{\n  int v3; // edx\n  int v4; // edx\n  int v5; // edx\n  int v6; // edx\n  __int64 v7; // rcx\n  __int64 result; // rax\n  __int64 v9; // rcx\n\n  v3 = a2 - 1;\n  if ( !v3 )\n  {\n    (**(void (__fastcall ***)(__int64, __int128 *))(a1[90] + 360LL))(a1[90] + 360LL, &xmmword_1407169B0);\n    v7 = a1[90];\n    return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v7 + 368))(v7 + 368, &word_140702D04);\n  }\n  v4 = v3 - 1;\n  if ( v4 )\n  {\n    v5 = v4 - 1;\n    if ( v5 )\n    {\n      v6 = v5 - 1;\n      if ( v6 )\n      {\n        if ( v6 != 1 )\n          return result;\n      }\n      else\n      {\n        (**(void (__fastcall ***)(__int64, int *))(a1[94] + 360LL))(a1[94] + 360LL, &dword_140716A8C);\n        (**(void (__fastcall ***)(__int64, __int16 *))(a1[94] + 368LL))(a1[94] + 368LL, &word_140702D04);\n      }\n      (**(void (__fastcall ***)(__int64, __int64 *))(a1[95] + 360LL))(a1[95] + 360LL, &qword_140716A28);\n      v7 = a1[95];\n    }\n    else\n    {\n      (**(void (__fastcall ***)(__int64, __int128 *))(a1[93] + 360LL))(a1[93] + 360LL, &xmmword_140716A60);\n      v7 = a1[93];\n    }\n    return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v7 + 368))(v7 + 368, &word_140702D04);\n  }\n  (**(void (__fastcall ***)(__int64, __int64 *))(a1[91] + 360LL))(a1[91] + 360LL, &qword_140716968);\n  result = (**(__int64 (__fastcall ***)(__int64, __int16 *))(a1[91] + 368LL))(a1[91] + 368LL, &word_140702D04);\n  v9 = a1[92];\n  if ( v9 )\n    return (**(__int64 (__fastcall ***)(__int64, char *))(v9 + 360))(v9 + 360, &byte_1406ED6E0);\n  return result;\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x14008e290 to 0x14008e3d6 (326 bytes)\n; \n; 2 xrefs:\n; > AccountRegisterLayer::textInputClosed @ 0x14008f15f\n; > <???> @ 0x1409129a4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:59 +0000\n; \npush    rbx                                                            ; +0x0, 0x14008e290\nsub     rsp, 20h                                                       ; +0x2, 0x14008e292\nmov     rbx, rcx                                                       ; +0x6, 0x14008e296\nsub     edx, 1                                                         ; +0x9, 0x14008e299\njz      loc_14008E396                                                  ; +0xc, 0x14008e29c\nsub     edx, 1                                                         ; +0x12, 0x14008e2a2\njz      loc_14008E33D                                                  ; +0x15, 0x14008e2a5\nsub     edx, 1                                                         ; +0x1b, 0x14008e2ab\njz      short loc_14008E31A                                            ; +0x1e, 0x14008e2ae\nsub     edx, 1                                                         ; +0x20, 0x14008e2b0\njz      short loc_14008E2C0                                            ; +0x23, 0x14008e2b3\ncmp     edx, 1                                                         ; +0x25, 0x14008e2b5\njz      short loc_14008E2F4                                            ; +0x28, 0x14008e2b8\nadd     rsp, 20h                                                       ; +0x2a, 0x14008e2ba\npop     rbx                                                            ; +0x2e, 0x14008e2be\nretn                                                                   ; +0x2f, 0x14008e2bf\nmov     rcx, [rcx+2F0h]                                                ; +0x30, 0x14008e2c0\nlea     rdx, dword_140716A8C                                           ; +0x37, 0x14008e2c7\nadd     rcx, 168h                                                      ; +0x3e, 0x14008e2ce\nmov     rax, [rcx]                                                     ; +0x45, 0x14008e2d5\ncall    qword ptr [rax]                                                ; +0x48, 0x14008e2d8\nmov     rcx, [rbx+2F0h]                                                ; +0x4a, 0x14008e2da\nlea     rdx, word_140702D04                                            ; +0x51, 0x14008e2e1\nadd     rcx, 170h                                                      ; +0x58, 0x14008e2e8\nmov     rax, [rcx]                                                     ; +0x5f, 0x14008e2ef\ncall    qword ptr [rax]                                                ; +0x62, 0x14008e2f2\nmov     rcx, [rbx+2F8h]                                                ; +0x64, 0x14008e2f4\nlea     rdx, qword_140716A28                                           ; +0x6b, 0x14008e2fb\nadd     rcx, 168h                                                      ; +0x72, 0x14008e302\nmov     rax, [rcx]                                                     ; +0x79, 0x14008e309\ncall    qword ptr [rax]                                                ; +0x7c, 0x14008e30c\nmov     rcx, [rbx+2F8h]                                                ; +0x7e, 0x14008e30e\njmp     loc_14008E3B7                                                  ; +0x85, 0x14008e315\nmov     rcx, [rcx+2E8h]                                                ; +0x8a, 0x14008e31a\nlea     rdx, xmmword_140716A60                                         ; +0x91, 0x14008e321\nadd     rcx, 168h                                                      ; +0x98, 0x14008e328\nmov     rax, [rcx]                                                     ; +0x9f, 0x14008e32f\ncall    qword ptr [rax]                                                ; +0xa2, 0x14008e332\nmov     rcx, [rbx+2E8h]                                                ; +0xa4, 0x14008e334\njmp     short loc_14008E3B7                                            ; +0xab, 0x14008e33b\nmov     rcx, [rcx+2D8h]                                                ; +0xad, 0x14008e33d\nlea     rdx, qword_140716968                                           ; +0xb4, 0x14008e344\nadd     rcx, 168h                                                      ; +0xbb, 0x14008e34b\nmov     rax, [rcx]                                                     ; +0xc2, 0x14008e352\ncall    qword ptr [rax]                                                ; +0xc5, 0x14008e355\nmov     rcx, [rbx+2D8h]                                                ; +0xc7, 0x14008e357\nlea     rdx, word_140702D04                                            ; +0xce, 0x14008e35e\nadd     rcx, 170h                                                      ; +0xd5, 0x14008e365\nmov     rax, [rcx]                                                     ; +0xdc, 0x14008e36c\ncall    qword ptr [rax]                                                ; +0xdf, 0x14008e36f\nmov     rcx, [rbx+2E0h]                                                ; +0xe1, 0x14008e371\ntest    rcx, rcx                                                       ; +0xe8, 0x14008e378\njz      short loc_14008E3D0                                            ; +0xeb, 0x14008e37b\nadd     rcx, 168h                                                      ; +0xed, 0x14008e37d\nlea     rdx, byte_1406ED6E0                                            ; +0xf4, 0x14008e384\nmov     rax, [rcx]                                                     ; +0xfb, 0x14008e38b\nadd     rsp, 20h                                                       ; +0xfe, 0x14008e38e\npop     rbx                                                            ; +0x102, 0x14008e392\njmp     qword ptr [rax]                                                ; +0x103, 0x14008e393\nmov     rcx, [rcx+2D0h]                                                ; +0x106, 0x14008e396\nlea     rdx, xmmword_1407169B0                                         ; +0x10d, 0x14008e39d\nadd     rcx, 168h                                                      ; +0x114, 0x14008e3a4\nmov     rax, [rcx]                                                     ; +0x11b, 0x14008e3ab\ncall    qword ptr [rax]                                                ; +0x11e, 0x14008e3ae\nmov     rcx, [rbx+2D0h]                                                ; +0x120, 0x14008e3b0\nadd     rcx, 170h                                                      ; +0x127, 0x14008e3b7\nlea     rdx, word_140702D04                                            ; +0x12e, 0x14008e3be\nmov     rax, [rcx]                                                     ; +0x135, 0x14008e3c5\nadd     rsp, 20h                                                       ; +0x138, 0x14008e3c8\npop     rbx                                                            ; +0x13c, 0x14008e3cc\njmp     qword ptr [rax]                                                ; +0x13d, 0x14008e3cd\nadd     rsp, 20h                                                       ; +0x140, 0x14008e3d0\npop     rbx                                                            ; +0x144, 0x14008e3d4\nretn                                                                   ; +0x145, 0x14008e3d5", "xrefs": ["AccountRegisterLayer::textInputClosed @ 0x14008f15f", "<???> @ 0x1409129a4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}