{"type": "func", "start": 4302027504, "end": 4302027755, "name": "GJDropDownLayer::showLayer", "pseudocode": "// \n// GJDropDownLayer::showLayer from 0x1006bbaf0 to 0x1006bbbeb (251 bytes)\n// \n// 12 xrefs:\n// > <???> @ 0x100ab8e50\n// > <???> @ 0x100abbec8\n// > <???> @ 0x100abc680\n// > <???> @ 0x100b049e0\n// > <???> @ 0x100b25798\n// > <???> @ 0x100b2a7c8\n// > <???> @ 0x100b6b160\n// > <???> @ 0x100b869e0\n// > <???> @ 0x100b8ba20\n// > <???> @ 0x100b90f20\n// > <???> @ 0x100ba1150\n// > <???> @ 0x100ba31d8\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::showLayer(__int64 *a1, unsigned __int8 a2)\n{\n  __int64 v2; // rax\n  _OWORD *v4; // rax\n  _OWORD *v5; // r14\n  __int64 v6; // rax\n  __int64 v7; // rax\n  _OWORD *v8; // rax\n\n  cocos2d::CCNode::stopAllActions(a1[72]);\n  (*(void (__fastcall **)(__int64 *))(*a1 + 1344))(a1);\n  v2 = GameManager::sharedState();\n  if ( (a2 | (unsigned __int8)GameManager::getGameVariable(v2, \"0168\")) == 1 )\n  {\n    (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1[72] + 184LL))(a1[72], a1 + 68);\n    (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1168))(a1, 125);\n    return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1360))(a1);\n  }\n  else\n  {\n    v4 = cocos2d::CCMoveTo::create(a1 + 68, (__m128)0x3F000000u);\n    v5 = cocos2d::CCEaseInOut::create((__int64)v4, 2.0);\n    v6 = cocos2d::CCCallFunc::create(a1, 1361, 0);\n    v7 = sub_10039EB60((__int64)v5, v6, 0);\n    cocos2d::CCNode::runAction(a1[72], v7);\n    (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1168))(a1, 0);\n    v8 = cocos2d::CCFadeTo::create(125, (__m128)0x3F000000u);\n    return cocos2d::CCNode::runAction((__int64)a1, (__int64)v8);\n  }\n}", "assembly": "; \n; GJDropDownLayer::showLayer from 0x1006bbaf0 to 0x1006bbbeb (251 bytes)\n; \n; 12 xrefs:\n; > <???> @ 0x100ab8e50\n; > <???> @ 0x100abbec8\n; > <???> @ 0x100abc680\n; > <???> @ 0x100b049e0\n; > <???> @ 0x100b25798\n; > <???> @ 0x100b2a7c8\n; > <???> @ 0x100b6b160\n; > <???> @ 0x100b869e0\n; > <???> @ 0x100b8ba20\n; > <???> @ 0x100b90f20\n; > <???> @ 0x100ba1150\n; > <???> @ 0x100ba31d8\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, 0x1006bbaf0\nmov     rbp, rsp                                                       ; +0x1, 0x1006bbaf1\npush    r14                                                            ; +0x4, 0x1006bbaf4\npush    rbx                                                            ; +0x6, 0x1006bbaf6\nmov     r14d, esi                                                      ; +0x7, 0x1006bbaf7\nmov     rbx, rdi                                                       ; +0xa, 0x1006bbafa\nmov     rdi, [rdi+240h]                                                ; +0xd, 0x1006bbafd\ncall    cocos2d__CCNode__stopAllActions                                ; +0x14, 0x1006bbb04\nmov     rax, [rbx]                                                     ; +0x19, 0x1006bbb09\nmov     rdi, rbx                                                       ; +0x1c, 0x1006bbb0c\ncall    qword ptr [rax+540h]                                           ; +0x1f, 0x1006bbb0f\ncall    GameManager__sharedState                                       ; +0x25, 0x1006bbb15\nlea     rsi, a0168; \"0168\"                                             ; +0x2a, 0x1006bbb1a\nmov     rdi, rax                                                       ; +0x31, 0x1006bbb21\ncall    GameManager__getGameVariable                                   ; +0x34, 0x1006bbb24\nor      al, r14b                                                       ; +0x39, 0x1006bbb29\ncmp     al, 1                                                          ; +0x3c, 0x1006bbb2c\njnz     short loc_1006BBB68                                            ; +0x3e, 0x1006bbb2e\nmov     rdi, [rbx+240h]                                                ; +0x40, 0x1006bbb30\nlea     rsi, [rbx+220h]                                                ; +0x47, 0x1006bbb37\nmov     rax, [rdi]                                                     ; +0x4e, 0x1006bbb3e\ncall    qword ptr [rax+0B8h]                                           ; +0x51, 0x1006bbb41\nmov     rax, [rbx]                                                     ; +0x57, 0x1006bbb47\nmov     rdi, rbx                                                       ; +0x5a, 0x1006bbb4a\nmov     esi, 7Dh ; '}'                                                 ; +0x5d, 0x1006bbb4d\ncall    qword ptr [rax+490h]                                           ; +0x62, 0x1006bbb52\nmov     rax, [rbx]                                                     ; +0x68, 0x1006bbb58\nmov     rdi, rbx                                                       ; +0x6b, 0x1006bbb5b\npop     rbx                                                            ; +0x6e, 0x1006bbb5e\npop     r14                                                            ; +0x6f, 0x1006bbb5f\npop     rbp                                                            ; +0x71, 0x1006bbb61\njmp     qword ptr [rax+550h]                                           ; +0x72, 0x1006bbb62\nlea     rdi, [rbx+220h]                                                ; +0x78, 0x1006bbb68\nmovss   xmm0, cs:dword_100A03578                                       ; +0x7f, 0x1006bbb6f\ncall    cocos2d__CCMoveTo__create                                      ; +0x87, 0x1006bbb77\nmovss   xmm0, cs:width                                                 ; +0x8c, 0x1006bbb7c\nmov     rdi, rax                                                       ; +0x94, 0x1006bbb84\ncall    cocos2d__CCEaseInOut__create                                   ; +0x97, 0x1006bbb87\nmov     r14, rax                                                       ; +0x9c, 0x1006bbb8c\nmov     esi, 551h                                                      ; +0x9f, 0x1006bbb8f\nmov     rdi, rbx                                                       ; +0xa4, 0x1006bbb94\nxor     edx, edx                                                       ; +0xa7, 0x1006bbb97\ncall    cocos2d__CCCallFunc__create                                    ; +0xa9, 0x1006bbb99\nmov     rdi, r14                                                       ; +0xae, 0x1006bbb9e\nmov     rsi, rax                                                       ; +0xb1, 0x1006bbba1\nxor     edx, edx                                                       ; +0xb4, 0x1006bbba4\nxor     eax, eax                                                       ; +0xb6, 0x1006bbba6\ncall    sub_10039EB60                                                  ; +0xb8, 0x1006bbba8\nmov     rdi, [rbx+240h]                                                ; +0xbd, 0x1006bbbad\nmov     rsi, rax                                                       ; +0xc4, 0x1006bbbb4\ncall    cocos2d__CCNode__runAction                                     ; +0xc7, 0x1006bbbb7\nmov     rax, [rbx]                                                     ; +0xcc, 0x1006bbbbc\nmov     rdi, rbx                                                       ; +0xcf, 0x1006bbbbf\nxor     esi, esi                                                       ; +0xd2, 0x1006bbbc2\ncall    qword ptr [rax+490h]                                           ; +0xd4, 0x1006bbbc4\nmovss   xmm0, cs:dword_100A03578                                       ; +0xda, 0x1006bbbca\nmov     edi, 7Dh ; '}'                                                 ; +0xe2, 0x1006bbbd2\ncall    cocos2d__CCFadeTo__create                                      ; +0xe7, 0x1006bbbd7\nmov     rdi, rbx                                                       ; +0xec, 0x1006bbbdc\nmov     rsi, rax                                                       ; +0xef, 0x1006bbbdf\npop     rbx                                                            ; +0xf2, 0x1006bbbe2\npop     r14                                                            ; +0xf3, 0x1006bbbe3\npop     rbp                                                            ; +0xf5, 0x1006bbbe5\njmp     cocos2d__CCNode__runAction                                     ; +0xf6, 0x1006bbbe6", "xrefs": ["<???> @ 0x100ab8e50", "<???> @ 0x100abbec8", "<???> @ 0x100abc680", "<???> @ 0x100b049e0", "<???> @ 0x100b25798", "<???> @ 0x100b2a7c8", "<???> @ 0x100b6b160", "<???> @ 0x100b869e0", "<???> @ 0x100b8ba20", "<???> @ 0x100b90f20", "<???> @ 0x100ba1150", "<???> @ 0x100ba31d8"], "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"}