{"type": "func", "start": 4299771824, "end": 4299772065, "name": "AccountRegisterLayer::dAccountRegisterLayer", "pseudocode": "// \n// AccountRegisterLayer::dAccountRegisterLayer from 0x100494fb0 to 0x1004950a1 (241 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\n__int64 __fastcall AccountRegisterLayer::dAccountRegisterLayer(GJAccountRegisterDelegate *a1)\n{\n  cocos2d::CCObject *v2; // rdi\n\n  a1->__vftable = (GJAccountRegisterDelegate_vtbl *)off_100943F10;\n  a1[40].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944478;\n  a1[41].__vftable = (GJAccountRegisterDelegate_vtbl *)&off_1009444E8;\n  a1[42].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944500;\n  a1[43].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944520;\n  a1[44].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944540;\n  a1[51].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944568;\n  a1[54].__vftable = (GJAccountRegisterDelegate_vtbl *)off_1009445E8;\n  a1[79].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944608;\n  a1[80].__vftable = (GJAccountRegisterDelegate_vtbl *)off_100944650;\n  a1[81].__vftable = (GJAccountRegisterDelegate_vtbl *)&off_100944670;\n  if ( GJAccountManager::sharedState()->m_accountRegisterDelegate != &a1[80] )\n  {\n    v2 = (cocos2d::CCObject *)a1[92].__vftable;\n    if ( !v2 )\n      return FLAlertLayer::dFLAlertLayer(a1);\n    goto LABEL_5;\n  }\n  GJAccountManager::sharedState()->m_accountRegisterDelegate = nullptr;\n  v2 = (cocos2d::CCObject *)a1[92].__vftable;\n  if ( v2 )\nLABEL_5:\n    cocos2d::CCObject::release(v2);\n  return FLAlertLayer::dFLAlertLayer(a1);\n}", "assembly": "; \n; AccountRegisterLayer::dAccountRegisterLayer from 0x100494fb0 to 0x1004950a1 (241 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, 0x100494fb0\nmov     rbp, rsp                                                       ; +0x1, 0x100494fb1\npush    rbx                                                            ; +0x4, 0x100494fb4\npush    rax                                                            ; +0x5, 0x100494fb5\nmov     rbx, rdi                                                       ; +0x6, 0x100494fb6\nlea     rax, off_100943F10                                             ; +0x9, 0x100494fb9\nmov     [rdi], rax                                                     ; +0x10, 0x100494fc0\nlea     rax, off_100944478                                             ; +0x13, 0x100494fc3\nmov     [rdi+140h], rax                                                ; +0x1a, 0x100494fca\nlea     rax, off_1009444E8                                             ; +0x21, 0x100494fd1\nmov     [rdi+148h], rax                                                ; +0x28, 0x100494fd8\nlea     rax, off_100944500                                             ; +0x2f, 0x100494fdf\nmov     [rdi+150h], rax                                                ; +0x36, 0x100494fe6\nlea     rax, off_100944520                                             ; +0x3d, 0x100494fed\nmov     [rdi+158h], rax                                                ; +0x44, 0x100494ff4\nlea     rax, off_100944540                                             ; +0x4b, 0x100494ffb\nmov     [rdi+160h], rax                                                ; +0x52, 0x100495002\nlea     rax, off_100944568                                             ; +0x59, 0x100495009\nmov     [rdi+198h], rax                                                ; +0x60, 0x100495010\nlea     rax, off_1009445E8                                             ; +0x67, 0x100495017\nmov     [rdi+1B0h], rax                                                ; +0x6e, 0x10049501e\nlea     rax, off_100944608                                             ; +0x75, 0x100495025\nmov     [rdi+278h], rax                                                ; +0x7c, 0x10049502c\nlea     rax, off_100944650                                             ; +0x83, 0x100495033\nmov     [rdi+280h], rax                                                ; +0x8a, 0x10049503a\nlea     rax, off_100944670                                             ; +0x91, 0x100495041\nmov     [rdi+288h], rax                                                ; +0x98, 0x100495048\ncall    GJAccountManager__sharedState                                  ; +0x9f, 0x10049504f\nlea     rcx, [rbx+280h]                                                ; +0xa4, 0x100495054\ncmp     [rax+188h], rcx                                                ; +0xab, 0x10049505b\njz      short loc_100495072                                            ; +0xb2, 0x100495062\nmov     rdi, [rbx+2E0h]                                                ; +0xb4, 0x100495064\ntest    rdi, rdi                                                       ; +0xbb, 0x10049506b\njnz     short loc_10049508E                                            ; +0xbe, 0x10049506e\njmp     short loc_100495093                                            ; +0xc0, 0x100495070\ncall    GJAccountManager__sharedState                                  ; +0xc2, 0x100495072\nmov     qword ptr [rax+188h], 0                                        ; +0xc7, 0x100495077\nmov     rdi, [rbx+2E0h]                                                ; +0xd2, 0x100495082\ntest    rdi, rdi                                                       ; +0xd9, 0x100495089\njz      short loc_100495093                                            ; +0xdc, 0x10049508c\ncall    cocos2d__CCObject__release                                     ; +0xde, 0x10049508e\nmov     rdi, rbx                                                       ; +0xe3, 0x100495093\nadd     rsp, 8                                                         ; +0xe6, 0x100495096\npop     rbx                                                            ; +0xea, 0x10049509a\npop     rbp                                                            ; +0xeb, 0x10049509b\njmp     FLAlertLayer__dFLAlertLayer                                    ; +0xec, 0x10049509c", "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"}