{"type": "func", "start": 5372247616, "end": 5372247950, "name": "GJDropDownLayer::showLayer", "pseudocode": "// \n// GJDropDownLayer::showLayer from 0x14035fe40 to 0x14035ff8e (334 bytes)\n// \n// 21 xrefs:\n// > AccountLayer::layerHidden @ 0x140094c99\n// > MenuLayer::onAchievements @ 0x140474b0a\n// > MenuLayer::openOptions @ 0x140474d9a\n// > MenuLayer::onStats @ 0x140474ee3\n// > OptionsLayer::layerHidden @ 0x1404cc6f5\n// > AccountLayer::layerHidden @ 0x140094c88\n// > MenuLayer::onAchievements @ 0x140474aea\n// > MenuLayer::openOptions @ 0x140474d87\n// > MenuLayer::onStats @ 0x140474ec8\n// > OptionsLayer::layerHidden @ 0x1404cc6e4\n// > <???> @ 0x1407185d0\n// > <???> @ 0x140718ae8\n// > <???> @ 0x1407190f8\n// > <???> @ 0x140719dc0\n// > <???> @ 0x14077a710\n// > <???> @ 0x140782cb0\n// > <???> @ 0x1407ced70\n// > <???> @ 0x14081e678\n// > <???> @ 0x140832478\n// > <???> @ 0x140833050\n// > <???> @ 0x14092132c\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::showLayer(cocos2d::CCNode *a1, char a2)\n{\n  __int64 v4; // rcx\n  struct cocos2d::CCActionInterval *v5; // rax\n  struct cocos2d::CCFiniteTimeAction *v6; // rbx\n  __int64 v7; // rax\n  struct cocos2d::CCAction *v8; // rax\n  struct cocos2d::CCAction *v9; // rax\n  __int64 v11; // rdx\n  void *v12; // [rsp+30h] [rbp+8h]\n\n  cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)a1 + 72));\n  (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a1 + 1096LL))(a1);\n  v4 = 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    v4 = qword_14090BFD0;\n  }\n  if ( GameManager::getGameVariable(v4, \"0168\") || a2 )\n  {\n    (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)a1 + 72) + 184LL))(*((_QWORD *)a1 + 72), (__int64)a1 + 544);\n    LOBYTE(v11) = 125;\n    (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)a1 + 51) + 40LL))((__int64)a1 + 408, v11);\n    return (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a1 + 1112LL))(a1);\n  }\n  else\n  {\n    v5 = cocos2d::CCMoveTo::create(0.5, (cocos2d::CCNode *)((char *)a1 + 544));\n    v6 = cocos2d::CCEaseInOut::create(v5, 2.0);\n    v7 = cocos2d::CCCallFunc::create(a1, sub_1401353DC);\n    v8 = cocos2d::CCSequence::create(v6, v7, 0);\n    cocos2d::CCNode::runAction(*((cocos2d::CCNode **)a1 + 72), v8);\n    (*(void (__fastcall **)(__int64, _QWORD))(*((_QWORD *)a1 + 51) + 40LL))((__int64)a1 + 408, 0);\n    v9 = cocos2d::CCFadeTo::create(0.5, 0x7Du);\n    return cocos2d::CCNode::runAction(a1, v9);\n  }\n}", "assembly": "; \n; GJDropDownLayer::showLayer from 0x14035fe40 to 0x14035ff8e (334 bytes)\n; \n; 21 xrefs:\n; > AccountLayer::layerHidden @ 0x140094c99\n; > MenuLayer::onAchievements @ 0x140474b0a\n; > MenuLayer::openOptions @ 0x140474d9a\n; > MenuLayer::onStats @ 0x140474ee3\n; > OptionsLayer::layerHidden @ 0x1404cc6f5\n; > AccountLayer::layerHidden @ 0x140094c88\n; > MenuLayer::onAchievements @ 0x140474aea\n; > MenuLayer::openOptions @ 0x140474d87\n; > MenuLayer::onStats @ 0x140474ec8\n; > OptionsLayer::layerHidden @ 0x1404cc6e4\n; > <???> @ 0x1407185d0\n; > <???> @ 0x140718ae8\n; > <???> @ 0x1407190f8\n; > <???> @ 0x140719dc0\n; > <???> @ 0x14077a710\n; > <???> @ 0x140782cb0\n; > <???> @ 0x1407ced70\n; > <???> @ 0x14081e678\n; > <???> @ 0x140832478\n; > <???> @ 0x140833050\n; > <???> @ 0x14092132c\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, 0x14035fe40\npush    rdi                                                            ; +0x5, 0x14035fe45\nsub     rsp, 20h                                                       ; +0x6, 0x14035fe46\nmovzx   ebx, dl                                                        ; +0xa, 0x14035fe4a\nmov     rdi, rcx                                                       ; +0xd, 0x14035fe4d\nmov     rcx, [rcx+240h]                                                ; +0x10, 0x14035fe50\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x17, 0x14035fe57\nmov     rax, [rdi]                                                     ; +0x1d, 0x14035fe5d\nmov     rcx, rdi                                                       ; +0x20, 0x14035fe60\ncall    qword ptr [rax+448h]                                           ; +0x23, 0x14035fe63\nmov     rcx, cs:qword_14090BFD0                                        ; +0x29, 0x14035fe69\ntest    rcx, rcx                                                       ; +0x30, 0x14035fe70\njnz     short loc_14035FEA7                                            ; +0x33, 0x14035fe73\nmov     ecx, 6E8h; Size                                                ; +0x35, 0x14035fe75\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3a, 0x14035fe7a\nmov     [rsp+28h+arg_0], rax                                           ; +0x3f, 0x14035fe7f\nmov     rcx, rax                                                       ; +0x44, 0x14035fe84\ncall    GameManager__GameManager                                       ; +0x47, 0x14035fe87\nnop                                                                    ; +0x4c, 0x14035fe8c\nmov     cs:qword_14090BFD0, rax                                        ; +0x4d, 0x14035fe8d\nmov     rcx, [rax]                                                     ; +0x54, 0x14035fe94\nmov     rdx, [rcx+48h]                                                 ; +0x57, 0x14035fe97\nmov     rcx, rax                                                       ; +0x5b, 0x14035fe9b\ncall    rdx                                                            ; +0x5e, 0x14035fe9e\nmov     rcx, cs:qword_14090BFD0                                        ; +0x60, 0x14035fea0\nlea     rdx, a0168; \"0168\"                                             ; +0x67, 0x14035fea7\ncall    GameManager__getGameVariable                                   ; +0x6e, 0x14035feae\ntest    al, al                                                         ; +0x73, 0x14035feb3\njnz     loc_14035FF51                                                  ; +0x75, 0x14035feb5\ntest    bl, bl                                                         ; +0x7b, 0x14035febb\njnz     loc_14035FF51                                                  ; +0x7d, 0x14035febd\nlea     rdx, [rdi+220h]                                                ; +0x83, 0x14035fec3\nmovss   xmm0, cs:dword_140834F20                                       ; +0x8a, 0x14035feca\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0x92, 0x14035fed2\nmovss   xmm1, cs:width                                                 ; +0x98, 0x14035fed8\nmov     rcx, rax                                                       ; +0xa0, 0x14035fee0\ncall    cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0xa3, 0x14035fee3\nmov     rbx, rax                                                       ; +0xa9, 0x14035fee9\nlea     rdx, sub_1401353DC                                             ; +0xac, 0x14035feec\nmov     rcx, rdi                                                       ; +0xb3, 0x14035fef3\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xb6, 0x14035fef6\nxor     r8d, r8d                                                       ; +0xbc, 0x14035fefc\nmov     rdx, rax                                                       ; +0xbf, 0x14035feff\nmov     rcx, rbx                                                       ; +0xc2, 0x14035ff02\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xc5, 0x14035ff05\nmov     rdx, rax                                                       ; +0xcb, 0x14035ff0b\nmov     rcx, [rdi+240h]                                                ; +0xce, 0x14035ff0e\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd5, 0x14035ff15\nlea     rcx, [rdi+198h]                                                ; +0xdb, 0x14035ff1b\nmov     rax, [rcx]                                                     ; +0xe2, 0x14035ff22\nxor     edx, edx                                                       ; +0xe5, 0x14035ff25\ncall    qword ptr [rax+28h]                                            ; +0xe7, 0x14035ff27\nmov     dl, 7Dh ; '}'                                                  ; +0xea, 0x14035ff2a\nmovss   xmm0, cs:dword_140834F20                                       ; +0xec, 0x14035ff2c\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0xf4, 0x14035ff34\nmov     rdx, rax                                                       ; +0xfa, 0x14035ff3a\nmov     rcx, rdi                                                       ; +0xfd, 0x14035ff3d\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x100, 0x14035ff40\nadd     rsp, 20h                                                       ; +0x105, 0x14035ff45\npop     rdi                                                            ; +0x109, 0x14035ff49\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x10a, 0x14035ff4a\nmov     rcx, [rdi+240h]                                                ; +0x111, 0x14035ff51\nlea     rdx, [rdi+220h]                                                ; +0x118, 0x14035ff58\nmov     rax, [rcx]                                                     ; +0x11f, 0x14035ff5f\ncall    qword ptr [rax+0B8h]                                           ; +0x122, 0x14035ff62\nlea     rcx, [rdi+198h]                                                ; +0x128, 0x14035ff68\nmov     rax, [rcx]                                                     ; +0x12f, 0x14035ff6f\nmov     dl, 7Dh ; '}'                                                  ; +0x132, 0x14035ff72\ncall    qword ptr [rax+28h]                                            ; +0x134, 0x14035ff74\nmov     rax, [rdi]                                                     ; +0x137, 0x14035ff77\nmov     rcx, rdi                                                       ; +0x13a, 0x14035ff7a\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x13d, 0x14035ff7d\nadd     rsp, 20h                                                       ; +0x142, 0x14035ff82\npop     rdi                                                            ; +0x146, 0x14035ff86\njmp     qword ptr [rax+458h]                                           ; +0x147, 0x14035ff87", "xrefs": ["AccountLayer::layerHidden @ 0x140094c99", "MenuLayer::onAchievements @ 0x140474b0a", "MenuLayer::openOptions @ 0x140474d9a", "MenuLayer::onStats @ 0x140474ee3", "OptionsLayer::layerHidden @ 0x1404cc6f5", "AccountLayer::layerHidden @ 0x140094c88", "MenuLayer::onAchievements @ 0x140474aea", "MenuLayer::openOptions @ 0x140474d87", "MenuLayer::onStats @ 0x140474ec8", "OptionsLayer::layerHidden @ 0x1404cc6e4", "<???> @ 0x1407185d0", "<???> @ 0x140718ae8", "<???> @ 0x1407190f8", "<???> @ 0x140719dc0", "<???> @ 0x14077a710", "<???> @ 0x140782cb0", "<???> @ 0x1407ced70", "<???> @ 0x14081e678", "<???> @ 0x140832478", "<???> @ 0x140833050", "<???> @ 0x14092132c"], "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"}