{"type": "func", "start": 4299794384, "end": 4299794478, "name": "AccountLoginLayer::resetLabel", "pseudocode": "// \n// AccountLoginLayer::resetLabel from 0x10049a7d0 to 0x10049a82e (94 bytes)\n// \n// 0 xrefs:\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 __fastcall AccountLoginLayer::resetLabel(AccountLoginLayer *a1, int a2)\n{\n  const char *v2; // rsi\n  __int64 v3; // rbx\n\n  if ( a2 == 1 )\n  {\n    v2 = \"Username:\";\n    v3 = 672;\n  }\n  else\n  {\n    if ( a2 != 2 )\n      return;\n    v2 = \"Password:\";\n    v3 = 680;\n  }\n  (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                             + v3)\n                                               + 912LL))(\n    *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                               + v3),\n    v2);\n  (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                       + v3)\n                                         + 1056LL))(\n    *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                               + v3),\n    &unk_10081D314);\n}", "assembly": "; \n; AccountLoginLayer::resetLabel from 0x10049a7d0 to 0x10049a82e (94 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x10049a7d0\nmov     rbp, rsp                                                       ; +0x1, 0x10049a7d1\npush    r14                                                            ; +0x4, 0x10049a7d4\npush    rbx                                                            ; +0x6, 0x10049a7d6\ncmp     esi, 1                                                         ; +0x7, 0x10049a7d7\njz      short loc_10049A7EF                                            ; +0xa, 0x10049a7da\ncmp     esi, 2                                                         ; +0xc, 0x10049a7dc\njnz     short loc_10049A829                                            ; +0xf, 0x10049a7df\nlea     rsi, aPassword; \"Password:\"                                    ; +0x11, 0x10049a7e1\nmov     ebx, 2A8h                                                      ; +0x18, 0x10049a7e8\njmp     short loc_10049A7FB                                            ; +0x1d, 0x10049a7ed\nlea     rsi, aUsername_0; \"Username:\"                                  ; +0x1f, 0x10049a7ef\nmov     ebx, 2A0h                                                      ; +0x26, 0x10049a7f6\nmov     rax, [rdi+rbx]                                                 ; +0x2b, 0x10049a7fb\nmov     rcx, [rax]                                                     ; +0x2f, 0x10049a7ff\nmov     r14, rdi                                                       ; +0x32, 0x10049a802\nmov     rdi, rax                                                       ; +0x35, 0x10049a805\ncall    qword ptr [rcx+390h]                                           ; +0x38, 0x10049a808\nmov     rdi, [r14+rbx]                                                 ; +0x3e, 0x10049a80e\nmov     rax, [rdi]                                                     ; +0x42, 0x10049a812\nmov     rax, [rax+420h]                                                ; +0x45, 0x10049a815\nlea     rsi, unk_10081D314                                             ; +0x4c, 0x10049a81c\npop     rbx                                                            ; +0x53, 0x10049a823\npop     r14                                                            ; +0x54, 0x10049a824\npop     rbp                                                            ; +0x56, 0x10049a826\njmp     rax                                                            ; +0x57, 0x10049a827\npop     rbx                                                            ; +0x59, 0x10049a829\npop     r14                                                            ; +0x5a, 0x10049a82a\npop     rbp                                                            ; +0x5c, 0x10049a82c\nretn                                                                   ; +0x5d, 0x10049a82d", "xrefs": [], "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"}