{"type": "func", "start": 5372247952, "end": 5372248284, "name": "GJDropDownLayer::hideLayer", "pseudocode": "// \n// GJDropDownLayer::hideLayer from 0x14035ff90 to 0x1403600dc (332 bytes)\n// \n// 13 xrefs:\n// > <???> @ 0x1407185d8\n// > <???> @ 0x140718af0\n// > <???> @ 0x140719100\n// > <???> @ 0x140719dc8\n// > <???> @ 0x140753718\n// > <???> @ 0x14077a718\n// > <???> @ 0x140782cb8\n// > <???> @ 0x1407ced78\n// > <???> @ 0x1407daf08\n// > <???> @ 0x14081e680\n// > <???> @ 0x140832480\n// > <???> @ 0x140833058\n// > <???> @ 0x140921338\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:30:52 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCAction *__fastcall GJDropDownLayer::hideLayer(cocos2d::CCNode *a1, char a2)\n{\n  void (__fastcall ***v4)(_QWORD, cocos2d::CCNode *); // rcx\n  __int64 v5; // rcx\n  struct cocos2d::CCActionInterval *v6; // rax\n  struct cocos2d::CCFiniteTimeAction *v7; // rbx\n  __int64 v8; // rax\n  struct cocos2d::CCAction *v9; // rax\n  struct cocos2d::CCAction *v10; // rax\n  void *v12; // [rsp+30h] [rbp+8h]\n\n  if ( *((_BYTE *)a1 + 584) )\n  {\n    v4 = *((void (__fastcall ****)(_QWORD, cocos2d::CCNode *))a1 + 74);\n    if ( v4 )\n      (**v4)(v4, a1);\n  }\n  cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)a1 + 72));\n  v5 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v12 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v12);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v5 = qword_14090BFD0;\n  }\n  if ( GameManager::getGameVariable(v5, \"0168\") || a2 )\n  {\n    (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)a1 + 72) + 184LL))(*((_QWORD *)a1 + 72), (__int64)a1 + 552);\n    (*(void (__fastcall **)(__int64, _QWORD))(*((_QWORD *)a1 + 51) + 40LL))((__int64)a1 + 408, 0);\n    return (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a1 + 1104LL))(a1);\n  }\n  else\n  {\n    v6 = cocos2d::CCMoveTo::create(0.5, (cocos2d::CCNode *)((char *)a1 + 552));\n    v7 = cocos2d::CCEaseInOut::create(v6, 2.0);\n    v8 = cocos2d::CCCallFunc::create(a1, sub_14009D628);\n    v9 = cocos2d::CCSequence::create(v7, v8, 0);\n    cocos2d::CCNode::runAction(*((cocos2d::CCNode **)a1 + 72), v9);\n    v10 = cocos2d::CCFadeTo::create(0.5, 0);\n    return cocos2d::CCNode::runAction(a1, v10);\n  }\n}", "assembly": "; \n; GJDropDownLayer::hideLayer from 0x14035ff90 to 0x1403600dc (332 bytes)\n; \n; 13 xrefs:\n; > <???> @ 0x1407185d8\n; > <???> @ 0x140718af0\n; > <???> @ 0x140719100\n; > <???> @ 0x140719dc8\n; > <???> @ 0x140753718\n; > <???> @ 0x14077a718\n; > <???> @ 0x140782cb8\n; > <???> @ 0x1407ced78\n; > <???> @ 0x1407daf08\n; > <???> @ 0x14081e680\n; > <???> @ 0x140832480\n; > <???> @ 0x140833058\n; > <???> @ 0x140921338\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:30:52 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14035ff90\npush    rdi                                                            ; +0x5, 0x14035ff95\nsub     rsp, 20h                                                       ; +0x6, 0x14035ff96\nmovzx   ebx, dl                                                        ; +0xa, 0x14035ff9a\nmov     rdi, rcx                                                       ; +0xd, 0x14035ff9d\ncmp     byte ptr [rcx+248h], 0                                         ; +0x10, 0x14035ffa0\njz      short loc_14035FFBD                                            ; +0x17, 0x14035ffa7\nmov     rcx, [rcx+250h]                                                ; +0x19, 0x14035ffa9\ntest    rcx, rcx                                                       ; +0x20, 0x14035ffb0\njz      short loc_14035FFBD                                            ; +0x23, 0x14035ffb3\nmov     rax, [rcx]                                                     ; +0x25, 0x14035ffb5\nmov     rdx, rdi                                                       ; +0x28, 0x14035ffb8\ncall    qword ptr [rax]                                                ; +0x2b, 0x14035ffbb\nmov     rcx, [rdi+240h]                                                ; +0x2d, 0x14035ffbd\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x34, 0x14035ffc4\nmov     rcx, cs:qword_14090BFD0                                        ; +0x3a, 0x14035ffca\ntest    rcx, rcx                                                       ; +0x41, 0x14035ffd1\njnz     short loc_140360008                                            ; +0x44, 0x14035ffd4\nmov     ecx, 6E8h; Size                                                ; +0x46, 0x14035ffd6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b, 0x14035ffdb\nmov     [rsp+28h+arg_0], rax                                           ; +0x50, 0x14035ffe0\nmov     rcx, rax                                                       ; +0x55, 0x14035ffe5\ncall    GameManager__GameManager                                       ; +0x58, 0x14035ffe8\nnop                                                                    ; +0x5d, 0x14035ffed\nmov     cs:qword_14090BFD0, rax                                        ; +0x5e, 0x14035ffee\nmov     rcx, [rax]                                                     ; +0x65, 0x14035fff5\nmov     rdx, [rcx+48h]                                                 ; +0x68, 0x14035fff8\nmov     rcx, rax                                                       ; +0x6c, 0x14035fffc\ncall    rdx                                                            ; +0x6f, 0x14035ffff\nmov     rcx, cs:qword_14090BFD0                                        ; +0x71, 0x140360001\nlea     rdx, a0168; \"0168\"                                             ; +0x78, 0x140360008\ncall    GameManager__getGameVariable                                   ; +0x7f, 0x14036000f\ntest    al, al                                                         ; +0x84, 0x140360014\njnz     loc_14036009F                                                  ; +0x86, 0x140360016\ntest    bl, bl                                                         ; +0x8c, 0x14036001c\njnz     short loc_14036009F                                            ; +0x8e, 0x14036001e\nlea     rdx, [rdi+228h]                                                ; +0x90, 0x140360020\nmovss   xmm0, cs:dword_140834F20                                       ; +0x97, 0x140360027\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0x9f, 0x14036002f\nmovss   xmm1, cs:width                                                 ; +0xa5, 0x140360035\nmov     rcx, rax                                                       ; +0xad, 0x14036003d\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0xb0, 0x140360040\nmov     rbx, rax                                                       ; +0xb6, 0x140360046\nlea     rdx, sub_14009D628                                             ; +0xb9, 0x140360049\nmov     rcx, rdi                                                       ; +0xc0, 0x140360050\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xc3, 0x140360053\nxor     r8d, r8d                                                       ; +0xc9, 0x140360059\nmov     rdx, rax                                                       ; +0xcc, 0x14036005c\nmov     rcx, rbx                                                       ; +0xcf, 0x14036005f\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xd2, 0x140360062\nmov     rdx, rax                                                       ; +0xd8, 0x140360068\nmov     rcx, [rdi+240h]                                                ; +0xdb, 0x14036006b\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xe2, 0x140360072\nxor     edx, edx                                                       ; +0xe8, 0x140360078\nmovss   xmm0, cs:dword_140834F20                                       ; +0xea, 0x14036007a\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0xf2, 0x140360082\nmov     rdx, rax                                                       ; +0xf8, 0x140360088\nmov     rcx, rdi                                                       ; +0xfb, 0x14036008b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xfe, 0x14036008e\nadd     rsp, 20h                                                       ; +0x103, 0x140360093\npop     rdi                                                            ; +0x107, 0x140360097\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x108, 0x140360098\nmov     rcx, [rdi+240h]                                                ; +0x10f, 0x14036009f\nlea     rdx, [rdi+228h]                                                ; +0x116, 0x1403600a6\nmov     rax, [rcx]                                                     ; +0x11d, 0x1403600ad\ncall    qword ptr [rax+0B8h]                                           ; +0x120, 0x1403600b0\nlea     rcx, [rdi+198h]                                                ; +0x126, 0x1403600b6\nmov     rax, [rcx]                                                     ; +0x12d, 0x1403600bd\nxor     edx, edx                                                       ; +0x130, 0x1403600c0\ncall    qword ptr [rax+28h]                                            ; +0x132, 0x1403600c2\nmov     rax, [rdi]                                                     ; +0x135, 0x1403600c5\nmov     rcx, rdi                                                       ; +0x138, 0x1403600c8\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x13b, 0x1403600cb\nadd     rsp, 20h                                                       ; +0x140, 0x1403600d0\npop     rdi                                                            ; +0x144, 0x1403600d4\njmp     qword ptr [rax+450h]                                           ; +0x145, 0x1403600d5", "xrefs": ["<???> @ 0x1407185d8", "<???> @ 0x140718af0", "<???> @ 0x140719100", "<???> @ 0x140719dc8", "<???> @ 0x140753718", "<???> @ 0x14077a718", "<???> @ 0x140782cb8", "<???> @ 0x1407ced78", "<???> @ 0x1407daf08", "<???> @ 0x14081e680", "<???> @ 0x140832480", "<???> @ 0x140833058", "<???> @ 0x140921338"], "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"}