{"type": "func", "start": 5369312608, "end": 5369312986, "name": "AccountLayer::onRegister", "pseudocode": "// \n// AccountLayer::onRegister from 0x140093560 to 0x1400936da (378 bytes)\n// \n// 2 xrefs:\n// > AccountLayer::customSetup @ 0x140093033\n// > <???> @ 0x140912b90\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:26:01 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 AccountLayer::onRegister()\n{\n  _QWORD *v0; // rbx\n  __int64 (__fastcall *v1)(__int64); // rdx\n\n  v0 = operator new(0x310u);\n  FLAlertLayer::FLAlertLayer((__int64)v0);\n  *v0 = &AccountRegisterLayer::`vftable';\n  v0[40] = &AccountRegisterLayer::`vftable';\n  v0[41] = &AccountRegisterLayer::`vftable';\n  v0[42] = &AccountRegisterLayer::`vftable';\n  v0[43] = &AccountRegisterLayer::`vftable';\n  v0[44] = &AccountRegisterLayer::`vftable';\n  v0[51] = &AccountRegisterLayer::`vftable';\n  v0[54] = &AccountRegisterLayer::`vftable';\n  v0[68] = &AccountRegisterLayer::`vftable';\n  v0[83] = &AccountRegisterLayer::`vftable';\n  v0[84] = &AccountRegisterLayer::`vftable';\n  v0[85] = 0;\n  v0[86] = 0;\n  v0[87] = 0;\n  v0[88] = 0;\n  v0[90] = 0;\n  v0[91] = 0;\n  v0[92] = 0;\n  v0[93] = 0;\n  v0[94] = 0;\n  v0[96] = 0;\n  *((_BYTE *)v0 + 776) = 0;\n  if ( AccountRegisterLayer::init((__int64)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v0 + 8LL))(v0, 1);\n    v0 = nullptr;\n  }\n  v1 = *(__int64 (__fastcall **)(__int64))(*v0 + 1064LL);\n  if ( v1 == FLAlertLayer::show )\n    return FLAlertLayer::show((__int64)v0);\n  else\n    return v1((__int64)v0);\n}", "assembly": "; \n; AccountLayer::onRegister from 0x140093560 to 0x1400936da (378 bytes)\n; \n; 2 xrefs:\n; > AccountLayer::customSetup @ 0x140093033\n; > <???> @ 0x140912b90\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:26:01 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140093560\npush    rdi                                                            ; +0x5, 0x140093565\nsub     rsp, 20h                                                       ; +0x6, 0x140093566\nmov     ecx, 310h; Size                                                ; +0xa, 0x14009356a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x14009356f\nmov     rbx, rax                                                       ; +0x14, 0x140093574\nmov     [rsp+28h+arg_10], rax                                          ; +0x17, 0x140093577\nmov     rcx, rax                                                       ; +0x1c, 0x14009357c\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x1f, 0x14009357f\nlea     rax, ??_7AccountRegisterLayer@@6B@; const AccountRegisterLayer::`vftable' ; +0x24, 0x140093584\nmov     [rbx], rax                                                     ; +0x2b, 0x14009358b\nlea     rax, ??_7AccountRegisterLayer@@6B@_0; const AccountRegisterLayer::`vftable' ; +0x2e, 0x14009358e\nmov     [rbx+140h], rax                                                ; +0x35, 0x140093595\nlea     rax, ??_7AccountRegisterLayer@@6B@_1; const AccountRegisterLayer::`vftable' ; +0x3c, 0x14009359c\nmov     [rbx+148h], rax                                                ; +0x43, 0x1400935a3\nlea     rax, ??_7AccountRegisterLayer@@6B@_2; const AccountRegisterLayer::`vftable' ; +0x4a, 0x1400935aa\nmov     [rbx+150h], rax                                                ; +0x51, 0x1400935b1\nlea     rax, ??_7AccountRegisterLayer@@6B@_3; const AccountRegisterLayer::`vftable' ; +0x58, 0x1400935b8\nmov     [rbx+158h], rax                                                ; +0x5f, 0x1400935bf\nlea     rax, ??_7AccountRegisterLayer@@6B@_4; const AccountRegisterLayer::`vftable' ; +0x66, 0x1400935c6\nmov     [rbx+160h], rax                                                ; +0x6d, 0x1400935cd\nlea     rax, ??_7AccountRegisterLayer@@6B@_5; const AccountRegisterLayer::`vftable' ; +0x74, 0x1400935d4\nmov     [rbx+198h], rax                                                ; +0x7b, 0x1400935db\nlea     rax, ??_7AccountRegisterLayer@@6B@_6; const AccountRegisterLayer::`vftable' ; +0x82, 0x1400935e2\nmov     [rbx+1B0h], rax                                                ; +0x89, 0x1400935e9\nlea     rax, ??_7AccountRegisterLayer@@6B@_7; const AccountRegisterLayer::`vftable' ; +0x90, 0x1400935f0\nmov     [rbx+220h], rax                                                ; +0x97, 0x1400935f7\nlea     rax, ??_7AccountRegisterLayer@@6B@_8; const AccountRegisterLayer::`vftable' ; +0x9e, 0x1400935fe\nmov     [rbx+298h], rax                                                ; +0xa5, 0x140093605\nlea     rax, ??_7AccountRegisterLayer@@6B@_9; const AccountRegisterLayer::`vftable' ; +0xac, 0x14009360c\nmov     [rbx+2A0h], rax                                                ; +0xb3, 0x140093613\nxor     edi, edi                                                       ; +0xba, 0x14009361a\nmov     [rbx+2A8h], rdi                                                ; +0xbc, 0x14009361c\nmov     [rbx+2B0h], rdi                                                ; +0xc3, 0x140093623\nmov     [rbx+2B8h], rdi                                                ; +0xca, 0x14009362a\nmov     [rbx+2C0h], rdi                                                ; +0xd1, 0x140093631\nmov     [rbx+2D0h], rdi                                                ; +0xd8, 0x140093638\nmov     [rbx+2D8h], rdi                                                ; +0xdf, 0x14009363f\nmov     [rbx+2E0h], rdi                                                ; +0xe6, 0x140093646\nmov     [rbx+2E8h], rdi                                                ; +0xed, 0x14009364d\nmov     [rbx+2F0h], rdi                                                ; +0xf4, 0x140093654\nmov     [rbx+300h], rdi                                                ; +0xfb, 0x14009365b\nmov     [rbx+308h], dil                                                ; +0x102, 0x140093662\nmov     rax, cs:off_140716F60                                          ; +0x109, 0x140093669\nlea     rcx, AccountRegisterLayer__init                                ; +0x110, 0x140093670\ncmp     rax, rcx                                                       ; +0x117, 0x140093677\nmov     rcx, rbx                                                       ; +0x11a, 0x14009367a\njnz     short loc_140093686                                            ; +0x11d, 0x14009367d\ncall    AccountRegisterLayer__init                                     ; +0x11f, 0x14009367f\njmp     short loc_140093688                                            ; +0x124, 0x140093684\ncall    rax ; AccountRegisterLayer__init                               ; +0x126, 0x140093686\nmov     rcx, rbx                                                       ; +0x128, 0x140093688\ntest    al, al                                                         ; +0x12b, 0x14009368b\njz      short loc_140093697                                            ; +0x12d, 0x14009368d\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x12f, 0x14009368f\njmp     short loc_1400936A5                                            ; +0x135, 0x140093695\nmov     rax, [rbx]                                                     ; +0x137, 0x140093697\nmov     edx, 1                                                         ; +0x13a, 0x14009369a\ncall    qword ptr [rax+8]                                              ; +0x13f, 0x14009369f\nmov     rbx, rdi                                                       ; +0x142, 0x1400936a2\nmov     rax, [rbx]                                                     ; +0x145, 0x1400936a5\nmov     rdx, [rax+428h]                                                ; +0x148, 0x1400936a8\nlea     rax, FLAlertLayer__show                                        ; +0x14f, 0x1400936af\nmov     rcx, rbx                                                       ; +0x156, 0x1400936b6\ncmp     rdx, rax                                                       ; +0x159, 0x1400936b9\njnz     short loc_1400936CD                                            ; +0x15c, 0x1400936bc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x15e, 0x1400936be\nadd     rsp, 20h                                                       ; +0x163, 0x1400936c3\npop     rdi                                                            ; +0x167, 0x1400936c7\njmp     FLAlertLayer__show                                             ; +0x168, 0x1400936c8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x16d, 0x1400936cd\nadd     rsp, 20h                                                       ; +0x172, 0x1400936d2\npop     rdi                                                            ; +0x176, 0x1400936d6\njmp     rdx                                                            ; +0x177, 0x1400936d7", "xrefs": ["AccountLayer::customSetup @ 0x140093033", "<???> @ 0x140912b90"], "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"}