{"type": "func", "start": 5369222576, "end": 5369222919, "name": "AccountLayer::create", "pseudocode": "// \n// AccountLayer::create from 0x14007d5b0 to 0x14007d707 (343 bytes)\n// \n// 3 xrefs:\n// > AccountHelpLayer::layerHidden @ 0x140080387\n// > OptionsLayer::layerHidden @ 0x14037358a\n// > <???> @ 0x1406c68a0\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// Hidden C++ exception states: #wind=1\nAccountLayer *AccountLayer::create()\n{\n  AccountLayer *v0; // rbx\n\n  v0 = (AccountLayer *)operator new(0x2D0u);\n  GJDropDownLayer::GJDropDownLayer(v0);\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AccountLayer_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&AccountLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&AccountLayer::`vftable';\n  v0->GJAccountDelegate::__vftable = (GJAccountDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJAccountBackupDelegate::__vftable = (GJAccountBackupDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->GJAccountSyncDelegate::__vftable = (GJAccountSyncDelegate_vtbl *)&AccountLayer::`vftable';\n  v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&AccountLayer::`vftable';\n  v0->m_linkedAccountTitle = nullptr;\n  v0->m_textArea = nullptr;\n  v0->m_loginButton = nullptr;\n  v0->m_registerButton = nullptr;\n  v0->m_backupButton = nullptr;\n  v0->m_syncButton = nullptr;\n  v0->m_helpButton = nullptr;\n  v0->m_accountHelpRelated = 0;\n  v0->m_isLoggedIn = 0;\n  if ( GJDropDownLayer::init(v0, \"Account\", 220.0, 0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    ((void (__fastcall *)(AccountLayer *, __int64))v0->~AccountLayer)(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; AccountLayer::create from 0x14007d5b0 to 0x14007d707 (343 bytes)\n; \n; 3 xrefs:\n; > AccountHelpLayer::layerHidden @ 0x140080387\n; > OptionsLayer::layerHidden @ 0x14037358a\n; > <???> @ 0x1406c68a0\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14007d5b0\npush    rdi                                                            ; +0x5, 0x14007d5b5\nsub     rsp, 20h                                                       ; +0x6, 0x14007d5b6\nmov     ecx, 2D0h; Size                                                ; +0xa, 0x14007d5ba\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x14007d5bf\nmov     rbx, rax                                                       ; +0x14, 0x14007d5c4\nmov     [rsp+28h+arg_0], rax                                           ; +0x17, 0x14007d5c7\nmov     rcx, rax                                                       ; +0x1c, 0x14007d5cc\ncall    GJDropDownLayer__GJDropDownLayer                               ; +0x1f, 0x14007d5cf\nlea     rax, ??_7AccountLayer@@6B@; const AccountLayer::`vftable'      ; +0x24, 0x14007d5d4\nmov     [rbx], rax                                                     ; +0x2b, 0x14007d5db\nlea     rax, ??_7AccountLayer@@6B@_0; const AccountLayer::`vftable'    ; +0x2e, 0x14007d5de\nmov     [rbx+140h], rax                                                ; +0x35, 0x14007d5e5\nlea     rax, ??_7AccountLayer@@6B@_1; const AccountLayer::`vftable'    ; +0x3c, 0x14007d5ec\nmov     [rbx+148h], rax                                                ; +0x43, 0x14007d5f3\nlea     rax, ??_7AccountLayer@@6B@_2; const AccountLayer::`vftable'    ; +0x4a, 0x14007d5fa\nmov     [rbx+150h], rax                                                ; +0x51, 0x14007d601\nlea     rax, ??_7AccountLayer@@6B@_3; const AccountLayer::`vftable'    ; +0x58, 0x14007d608\nmov     [rbx+158h], rax                                                ; +0x5f, 0x14007d60f\nlea     rax, ??_7AccountLayer@@6B@_4; const AccountLayer::`vftable'    ; +0x66, 0x14007d616\nmov     [rbx+160h], rax                                                ; +0x6d, 0x14007d61d\nlea     rax, ??_7AccountLayer@@6B@_5; const AccountLayer::`vftable'    ; +0x74, 0x14007d624\nmov     [rbx+198h], rax                                                ; +0x7b, 0x14007d62b\nlea     rax, ??_7AccountLayer@@6B@_6; const AccountLayer::`vftable'    ; +0x82, 0x14007d632\nmov     [rbx+1B0h], rax                                                ; +0x89, 0x14007d639\nlea     rax, ??_7AccountLayer@@6B@_7; const AccountLayer::`vftable'    ; +0x90, 0x14007d640\nmov     [rbx+260h], rax                                                ; +0x97, 0x14007d647\nlea     rax, ??_7AccountLayer@@6B@_8; const AccountLayer::`vftable'    ; +0x9e, 0x14007d64e\nmov     [rbx+268h], rax                                                ; +0xa5, 0x14007d655\nlea     rax, ??_7AccountLayer@@6B@_9; const AccountLayer::`vftable'    ; +0xac, 0x14007d65c\nmov     [rbx+270h], rax                                                ; +0xb3, 0x14007d663\nlea     rax, ??_7AccountLayer@@6B@_10; const AccountLayer::`vftable'   ; +0xba, 0x14007d66a\nmov     [rbx+278h], rax                                                ; +0xc1, 0x14007d671\nxor     edi, edi                                                       ; +0xc8, 0x14007d678\nmov     [rbx+280h], rdi                                                ; +0xca, 0x14007d67a\nmov     [rbx+288h], rdi                                                ; +0xd1, 0x14007d681\nmov     [rbx+290h], rdi                                                ; +0xd8, 0x14007d688\nmov     [rbx+298h], rdi                                                ; +0xdf, 0x14007d68f\nmov     [rbx+2A0h], rdi                                                ; +0xe6, 0x14007d696\nmov     [rbx+2A8h], rdi                                                ; +0xed, 0x14007d69d\nmov     [rbx+2B0h], rdi                                                ; +0xf4, 0x14007d6a4\nmov     [rbx+2C8h], edi                                                ; +0xfb, 0x14007d6ab\nmov     [rbx+2CCh], dil                                                ; +0x101, 0x14007d6b1\nxor     r9d, r9d                                                       ; +0x108, 0x14007d6b8\nmovss   xmm2, cs:dword_1406233F4                                       ; +0x10b, 0x14007d6bb\nlea     rdx, aAccount; \"Account\"                                       ; +0x113, 0x14007d6c3\nmov     rcx, rbx                                                       ; +0x11a, 0x14007d6ca\ncall    GJDropDownLayer__init                                          ; +0x11d, 0x14007d6cd\nmov     rcx, rbx                                                       ; +0x122, 0x14007d6d2\ntest    al, al                                                         ; +0x125, 0x14007d6d5\njz      short loc_14007D6ED                                            ; +0x127, 0x14007d6d7\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x129, 0x14007d6d9\nmov     rax, rbx                                                       ; +0x12f, 0x14007d6df\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x132, 0x14007d6e2\nadd     rsp, 20h                                                       ; +0x137, 0x14007d6e7\npop     rdi                                                            ; +0x13b, 0x14007d6eb\nretn                                                                   ; +0x13c, 0x14007d6ec\nmov     r8, [rbx]                                                      ; +0x13d, 0x14007d6ed\nmov     edx, 1                                                         ; +0x140, 0x14007d6f0\ncall    qword ptr [r8+8]                                               ; +0x145, 0x14007d6f5\nmov     rax, rdi                                                       ; +0x149, 0x14007d6f9\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x14c, 0x14007d6fc\nadd     rsp, 20h                                                       ; +0x151, 0x14007d701\npop     rdi                                                            ; +0x155, 0x14007d705\nretn                                                                   ; +0x156, 0x14007d706", "xrefs": ["AccountHelpLayer::layerHidden @ 0x140080387", "OptionsLayer::layerHidden @ 0x14037358a", "<???> @ 0x1406c68a0"], "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"}