{"type": "func", "start": 4302027760, "end": 4302028008, "name": "GJDropDownLayer::hideLayer", "pseudocode": "// \n// GJDropDownLayer::hideLayer from 0x1006bbbf0 to 0x1006bbce8 (248 bytes)\n// \n// 14 xrefs:\n// > <???> @ 0x100ab8e58\n// > <???> @ 0x100abbed0\n// > <???> @ 0x100abc688\n// > <???> @ 0x100b049e8\n// > <???> @ 0x100b257a0\n// > <???> @ 0x100b2a7d0\n// > <???> @ 0x100b5a440\n// > <???> @ 0x100b63ad8\n// > <???> @ 0x100b6b168\n// > <???> @ 0x100b869e8\n// > <???> @ 0x100b8ba28\n// > <???> @ 0x100b90f28\n// > <???> @ 0x100ba1158\n// > <???> @ 0x100ba31e0\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 12:35:29 +0000\n// \n\n__int64 __fastcall GJDropDownLayer::hideLayer(__int64 a1, unsigned __int8 a2)\n{\n  void (__fastcall ***v3)(_QWORD, __int64); // rdi\n  __int64 v4; // rax\n  _OWORD *v6; // rax\n  _OWORD *v7; // r14\n  __int64 v8; // rax\n  __int64 v9; // rax\n  _OWORD *v10; // rax\n\n  if ( *(_BYTE *)(a1 + 584) == 1 )\n  {\n    v3 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 592);\n    if ( v3 )\n      (**v3)(v3, a1);\n  }\n  cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 576));\n  v4 = GameManager::sharedState();\n  if ( (a2 | (unsigned __int8)GameManager::getGameVariable(v4, \"0168\")) == 1 )\n  {\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 576) + 184LL))(*(_QWORD *)(a1 + 576), a1 + 552);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1);\n  }\n  else\n  {\n    v6 = cocos2d::CCMoveTo::create((_QWORD *)(a1 + 552), (__m128)0x3F000000u);\n    v7 = cocos2d::CCEaseInOut::create((__int64)v6, 2.0);\n    v8 = cocos2d::CCCallFunc::create(a1, 1353, 0);\n    v9 = sub_10039EB60((__int64)v7, v8, 0);\n    cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 576), v9);\n    v10 = cocos2d::CCFadeTo::create(0, (__m128)0x3F000000u);\n    return cocos2d::CCNode::runAction(a1, (__int64)v10);\n  }\n}", "assembly": "; \n; GJDropDownLayer::hideLayer from 0x1006bbbf0 to 0x1006bbce8 (248 bytes)\n; \n; 14 xrefs:\n; > <???> @ 0x100ab8e58\n; > <???> @ 0x100abbed0\n; > <???> @ 0x100abc688\n; > <???> @ 0x100b049e8\n; > <???> @ 0x100b257a0\n; > <???> @ 0x100b2a7d0\n; > <???> @ 0x100b5a440\n; > <???> @ 0x100b63ad8\n; > <???> @ 0x100b6b168\n; > <???> @ 0x100b869e8\n; > <???> @ 0x100b8ba28\n; > <???> @ 0x100b90f28\n; > <???> @ 0x100ba1158\n; > <???> @ 0x100ba31e0\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 12:35:29 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006bbbf0\nmov     rbp, rsp                                                       ; +0x1, 0x1006bbbf1\npush    r14                                                            ; +0x4, 0x1006bbbf4\npush    rbx                                                            ; +0x6, 0x1006bbbf6\nmov     r14d, esi                                                      ; +0x7, 0x1006bbbf7\nmov     rbx, rdi                                                       ; +0xa, 0x1006bbbfa\ncmp     byte ptr [rdi+248h], 1                                         ; +0xd, 0x1006bbbfd\njnz     short loc_1006BBC1A                                            ; +0x14, 0x1006bbc04\nmov     rdi, [rbx+250h]                                                ; +0x16, 0x1006bbc06\ntest    rdi, rdi                                                       ; +0x1d, 0x1006bbc0d\njz      short loc_1006BBC1A                                            ; +0x20, 0x1006bbc10\nmov     rax, [rdi]                                                     ; +0x22, 0x1006bbc12\nmov     rsi, rbx                                                       ; +0x25, 0x1006bbc15\ncall    qword ptr [rax]                                                ; +0x28, 0x1006bbc18\nmov     rdi, [rbx+240h]                                                ; +0x2a, 0x1006bbc1a\ncall    cocos2d__CCNode__stopAllActions                                ; +0x31, 0x1006bbc21\ncall    GameManager__sharedState                                       ; +0x36, 0x1006bbc26\nlea     rsi, a0168; \"0168\"                                             ; +0x3b, 0x1006bbc2b\nmov     rdi, rax                                                       ; +0x42, 0x1006bbc32\ncall    GameManager__getGameVariable                                   ; +0x45, 0x1006bbc35\nor      al, r14b                                                       ; +0x4a, 0x1006bbc3a\ncmp     al, 1                                                          ; +0x4d, 0x1006bbc3d\njnz     short loc_1006BBC76                                            ; +0x4f, 0x1006bbc3f\nmov     rdi, [rbx+240h]                                                ; +0x51, 0x1006bbc41\nlea     rsi, [rbx+228h]                                                ; +0x58, 0x1006bbc48\nmov     rax, [rdi]                                                     ; +0x5f, 0x1006bbc4f\ncall    qword ptr [rax+0B8h]                                           ; +0x62, 0x1006bbc52\nmov     rax, [rbx]                                                     ; +0x68, 0x1006bbc58\nmov     rdi, rbx                                                       ; +0x6b, 0x1006bbc5b\nxor     esi, esi                                                       ; +0x6e, 0x1006bbc5e\ncall    qword ptr [rax+490h]                                           ; +0x70, 0x1006bbc60\nmov     rax, [rbx]                                                     ; +0x76, 0x1006bbc66\nmov     rdi, rbx                                                       ; +0x79, 0x1006bbc69\npop     rbx                                                            ; +0x7c, 0x1006bbc6c\npop     r14                                                            ; +0x7d, 0x1006bbc6d\npop     rbp                                                            ; +0x7f, 0x1006bbc6f\njmp     qword ptr [rax+548h]                                           ; +0x80, 0x1006bbc70\nlea     rdi, [rbx+228h]                                                ; +0x86, 0x1006bbc76\nmovss   xmm0, cs:dword_100A03578                                       ; +0x8d, 0x1006bbc7d\ncall    cocos2d__CCMoveTo__create                                      ; +0x95, 0x1006bbc85\nmovss   xmm0, cs:width                                                 ; +0x9a, 0x1006bbc8a\nmov     rdi, rax                                                       ; +0xa2, 0x1006bbc92\ncall    cocos2d__CCEaseInOut__create                                   ; +0xa5, 0x1006bbc95\nmov     r14, rax                                                       ; +0xaa, 0x1006bbc9a\nmov     esi, 549h                                                      ; +0xad, 0x1006bbc9d\nmov     rdi, rbx                                                       ; +0xb2, 0x1006bbca2\nxor     edx, edx                                                       ; +0xb5, 0x1006bbca5\ncall    cocos2d__CCCallFunc__create                                    ; +0xb7, 0x1006bbca7\nmov     rdi, r14                                                       ; +0xbc, 0x1006bbcac\nmov     rsi, rax                                                       ; +0xbf, 0x1006bbcaf\nxor     edx, edx                                                       ; +0xc2, 0x1006bbcb2\nxor     eax, eax                                                       ; +0xc4, 0x1006bbcb4\ncall    sub_10039EB60                                                  ; +0xc6, 0x1006bbcb6\nmov     rdi, [rbx+240h]                                                ; +0xcb, 0x1006bbcbb\nmov     rsi, rax                                                       ; +0xd2, 0x1006bbcc2\ncall    cocos2d__CCNode__runAction                                     ; +0xd5, 0x1006bbcc5\nmovss   xmm0, cs:dword_100A03578                                       ; +0xda, 0x1006bbcca\nxor     edi, edi                                                       ; +0xe2, 0x1006bbcd2\ncall    cocos2d__CCFadeTo__create                                      ; +0xe4, 0x1006bbcd4\nmov     rdi, rbx                                                       ; +0xe9, 0x1006bbcd9\nmov     rsi, rax                                                       ; +0xec, 0x1006bbcdc\npop     rbx                                                            ; +0xef, 0x1006bbcdf\npop     r14                                                            ; +0xf0, 0x1006bbce0\npop     rbp                                                            ; +0xf2, 0x1006bbce2\njmp     cocos2d__CCNode__runAction                                     ; +0xf3, 0x1006bbce3", "xrefs": ["<???> @ 0x100ab8e58", "<???> @ 0x100abbed0", "<???> @ 0x100abc688", "<???> @ 0x100b049e8", "<???> @ 0x100b257a0", "<???> @ 0x100b2a7d0", "<???> @ 0x100b5a440", "<???> @ 0x100b63ad8", "<???> @ 0x100b6b168", "<???> @ 0x100b869e8", "<???> @ 0x100b8ba28", "<???> @ 0x100b90f28", "<???> @ 0x100ba1158", "<???> @ 0x100ba31e0"], "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"}