{"type": "func", "start": 5369230496, "end": 5369230864, "name": "AccountLayer::layerHidden", "pseudocode": "// \n// AccountLayer::layerHidden from 0x14007f4a0 to 0x14007f610 (368 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14053b710\n// > <???> @ 0x1406c6948\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\nvoid AccountLayer::layerHidden(AccountLayer *a1)\n{\n  GJDropDownLayer *v2; // rbx\n  cocos2d::CCNode *v3; // rax\n  void (*showLayer)(GJDropDownLayer *, bool); // r8\n  _BOOL8 v5; // rdx\n\n  if ( a1->m_accountHelpRelated == 1 )\n  {\n    v2 = (GJDropDownLayer *)operator new(0x298u);\n    GJDropDownLayer::GJDropDownLayer(v2);\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJDropDownLayer_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&AccountHelpLayer::`vftable';\n    v2->cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&AccountHelpLayer::`vftable';\n    v2[1].cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJDropDownLayer_vtbl *)&AccountHelpLayer::`vftable';\n    *(_QWORD *)&v2[1].m_uID = &AccountHelpLayer::`vftable';\n    LOBYTE(v2[1].m_uOrderOfArrival) = 0;\n    if ( GJDropDownLayer::init(v2, \"Account Help\", 220.0, 0) )\n    {\n      cocos2d::CCObject::autorelease(v2);\n    }\n    else\n    {\n      ((void (__fastcall *)(GJDropDownLayer *, __int64))v2->~GJDropDownLayer)(v2, 1);\n      v2 = nullptr;\n    }\n    v3 = a1->getParent(a1);\n    v3->addChild_0(v3, v2, 100);\n    showLayer = (void (*)(GJDropDownLayer *, bool))v2->showLayer;\n    if ( showLayer == GJDropDownLayer::showLayer )\n      GJDropDownLayer::showLayer(v2, 0);\n    else\n      showLayer(v2, 0);\n  }\n  a1->setVisible(a1, 0);\n  if ( a1->m_closeOnHide )\n  {\n    LOBYTE(v5) = 1;\n    a1->removeFromParentAndCleanup(a1, v5);\n  }\n}", "assembly": "; \n; AccountLayer::layerHidden from 0x14007f4a0 to 0x14007f610 (368 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14053b710\n; > <???> @ 0x1406c6948\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, 0x14007f4a0\npush    rdi                                                            ; +0x5, 0x14007f4a5\nsub     rsp, 20h                                                       ; +0x6, 0x14007f4a6\nmov     rdi, rcx                                                       ; +0xa, 0x14007f4aa\ncmp     dword ptr [rcx+2C8h], 1                                        ; +0xd, 0x14007f4ad\njnz     loc_14007F5E0                                                  ; +0x14, 0x14007f4b4\nmov     ecx, 298h; Size                                                ; +0x1a, 0x14007f4ba\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x14007f4bf\nmov     rbx, rax                                                       ; +0x24, 0x14007f4c4\nmov     [rsp+28h+arg_0], rax                                           ; +0x27, 0x14007f4c7\nmov     rcx, rax                                                       ; +0x2c, 0x14007f4cc\ncall    GJDropDownLayer__GJDropDownLayer                               ; +0x2f, 0x14007f4cf\nlea     rax, ??_7AccountHelpLayer@@6B@; const AccountHelpLayer::`vftable' ; +0x34, 0x14007f4d4\nmov     [rbx], rax                                                     ; +0x3b, 0x14007f4db\nlea     rax, ??_7AccountHelpLayer@@6B@_0; const AccountHelpLayer::`vftable' ; +0x3e, 0x14007f4de\nmov     [rbx+140h], rax                                                ; +0x45, 0x14007f4e5\nlea     rax, ??_7AccountHelpLayer@@6B@_1; const AccountHelpLayer::`vftable' ; +0x4c, 0x14007f4ec\nmov     [rbx+148h], rax                                                ; +0x53, 0x14007f4f3\nlea     rax, ??_7AccountHelpLayer@@6B@_2; const AccountHelpLayer::`vftable' ; +0x5a, 0x14007f4fa\nmov     [rbx+150h], rax                                                ; +0x61, 0x14007f501\nlea     rax, ??_7AccountHelpLayer@@6B@_3; const AccountHelpLayer::`vftable' ; +0x68, 0x14007f508\nmov     [rbx+158h], rax                                                ; +0x6f, 0x14007f50f\nlea     rax, ??_7AccountHelpLayer@@6B@_4; const AccountHelpLayer::`vftable' ; +0x76, 0x14007f516\nmov     [rbx+160h], rax                                                ; +0x7d, 0x14007f51d\nlea     rax, ??_7AccountHelpLayer@@6B@_5; const AccountHelpLayer::`vftable' ; +0x84, 0x14007f524\nmov     [rbx+198h], rax                                                ; +0x8b, 0x14007f52b\nlea     rax, ??_7AccountHelpLayer@@6B@_6; const AccountHelpLayer::`vftable' ; +0x92, 0x14007f532\nmov     [rbx+1B0h], rax                                                ; +0x99, 0x14007f539\nlea     rax, ??_7AccountHelpLayer@@6B@_7; const AccountHelpLayer::`vftable' ; +0xa0, 0x14007f540\nmov     [rbx+260h], rax                                                ; +0xa7, 0x14007f547\nlea     rax, ??_7AccountHelpLayer@@6B@_8; const AccountHelpLayer::`vftable' ; +0xae, 0x14007f54e\nmov     [rbx+268h], rax                                                ; +0xb5, 0x14007f555\nmov     byte ptr [rbx+290h], 0                                         ; +0xbc, 0x14007f55c\nxor     r9d, r9d                                                       ; +0xc3, 0x14007f563\nmovss   xmm2, cs:dword_1406233F4                                       ; +0xc6, 0x14007f566\nlea     rdx, aAccountHelp; \"Account Help\"                              ; +0xce, 0x14007f56e\nmov     rcx, rbx                                                       ; +0xd5, 0x14007f575\ncall    GJDropDownLayer__init                                          ; +0xd8, 0x14007f578\nmov     rcx, rbx                                                       ; +0xdd, 0x14007f57d\ntest    al, al                                                         ; +0xe0, 0x14007f580\njz      short loc_14007F58C                                            ; +0xe2, 0x14007f582\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe4, 0x14007f584\njmp     short loc_14007F599                                            ; +0xea, 0x14007f58a\nmov     rax, [rbx]                                                     ; +0xec, 0x14007f58c\nmov     edx, 1                                                         ; +0xef, 0x14007f58f\ncall    qword ptr [rax+8]                                              ; +0xf4, 0x14007f594\nxor     ebx, ebx                                                       ; +0xf7, 0x14007f597\nmov     rax, [rdi]                                                     ; +0xf9, 0x14007f599\nmov     rcx, rdi                                                       ; +0xfc, 0x14007f59c\ncall    qword ptr [rax+1E8h]                                           ; +0xff, 0x14007f59f\nmov     r9, [rax]                                                      ; +0x105, 0x14007f5a5\nmov     r8d, 64h ; 'd'                                                 ; +0x108, 0x14007f5a8\nmov     rdx, rbx                                                       ; +0x10e, 0x14007f5ae\nmov     rcx, rax                                                       ; +0x111, 0x14007f5b1\ncall    qword ptr [r9+1B8h]                                            ; +0x114, 0x14007f5b4\nmov     rax, [rbx]                                                     ; +0x11b, 0x14007f5bb\nmov     r8, [rax+428h]                                                 ; +0x11e, 0x14007f5be\nlea     rax, GJDropDownLayer__showLayer                                ; +0x125, 0x14007f5c5\nxor     edx, edx                                                       ; +0x12c, 0x14007f5cc\nmov     rcx, rbx                                                       ; +0x12e, 0x14007f5ce\ncmp     r8, rax                                                        ; +0x131, 0x14007f5d1\njnz     short loc_14007F5DD                                            ; +0x134, 0x14007f5d4\ncall    GJDropDownLayer__showLayer                                     ; +0x136, 0x14007f5d6\njmp     short loc_14007F5E0                                            ; +0x13b, 0x14007f5db\ncall    r8                                                             ; +0x13d, 0x14007f5dd\nmov     rax, [rdi]                                                     ; +0x140, 0x14007f5e0\nxor     edx, edx                                                       ; +0x143, 0x14007f5e3\nmov     rcx, rdi                                                       ; +0x145, 0x14007f5e5\ncall    qword ptr [rax+140h]                                           ; +0x148, 0x14007f5e8\ncmp     byte ptr [rdi+248h], 0                                         ; +0x14e, 0x14007f5ee\njz      short loc_14007F605                                            ; +0x155, 0x14007f5f5\nmov     rax, [rdi]                                                     ; +0x157, 0x14007f5f7\nmov     dl, 1                                                          ; +0x15a, 0x14007f5fa\nmov     rcx, rdi                                                       ; +0x15c, 0x14007f5fc\ncall    qword ptr [rax+1F8h]                                           ; +0x15f, 0x14007f5ff\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x165, 0x14007f605\nadd     rsp, 20h                                                       ; +0x16a, 0x14007f60a\npop     rdi                                                            ; +0x16e, 0x14007f60e\nretn                                                                   ; +0x16f, 0x14007f60f", "xrefs": ["<???> @ 0x14053b710", "<???> @ 0x1406c6948"], "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"}