{"type": "func", "start": 4298021872, "end": 4298022251, "name": "GJPathsLayer::show", "pseudocode": "// \n// GJPathsLayer::show from 0x1002e9bf0 to 0x1002e9d6b (379 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b11ed0\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:28:22 +0000\n// \n\n__int64 __fastcall GJPathsLayer::show(__int64 a1)\n{\n  unsigned __int8 v3; // r14\n  _QWORD *v4; // rax\n  __int64 v5; // r12\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rdi\n  __int64 v9; // rsi\n  __int64 v10; // rax\n  __int64 v11; // r15\n  __int64 v12; // rax\n  int HighestChildZ; // eax\n  int v14; // edx\n  float v15; // [rsp+8h] [rbp-38h] BYREF\n  _QWORD v16[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  if ( *(_BYTE *)(a1 + 596) == 1 )\n    return FLAlertLayer::show(a1);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1152LL))(a1);\n  v4 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584));\n  sub_1002782D0(v16, v4);\n  v5 = *(_QWORD *)(a1 + 584);\n  sub_100278250(&v15, -160.0, *((float *)v16 + 1));\n  (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v15);\n  v6 = cocos2d::CCMoveTo::create(v16, 0.5);\n  v7 = cocos2d::CCEaseElasticOut::create(v6, 0.60000002);\n  v8 = *(_QWORD *)(a1 + 584);\n  v9 = v7;\n  cocos2d::CCNode::runAction(v8, v7);\n  v10 = cocos2d::CCDirector::sharedDirector(v8, v9);\n  v11 = *(_QWORD *)(a1 + 568);\n  if ( !v11 )\n  {\n    v11 = *(_QWORD *)(v10 + 272);\n    HighestChildZ = cocos2d::CCScene::getHighestChildZ(v11);\n    v14 = 105;\n    if ( HighestChildZ >= 105 )\n      v14 = cocos2d::CCScene::getHighestChildZ(v11) + 1;\n    *(_DWORD *)(a1 + 592) = v14;\n    if ( v14 )\n      goto LABEL_6;\n    goto LABEL_5;\n  }\n  if ( !*(_DWORD *)(a1 + 592) )\nLABEL_5:\n    *(_DWORD *)(a1 + 592) = 105;\nLABEL_6:\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 464LL))(v11, a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);\n  v12 = cocos2d::CCFadeTo::create(v3, 0.14);\n  cocos2d::CCNode::runAction(a1, v12);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 344LL))(a1, 1);\n}", "assembly": "; \n; GJPathsLayer::show from 0x1002e9bf0 to 0x1002e9d6b (379 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b11ed0\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:28:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002e9bf0\nmov     rbp, rsp                                                       ; +0x1, 0x1002e9bf1\npush    r15                                                            ; +0x4, 0x1002e9bf4\npush    r14                                                            ; +0x6, 0x1002e9bf6\npush    r13                                                            ; +0x8, 0x1002e9bf8\npush    r12                                                            ; +0xa, 0x1002e9bfa\npush    rbx                                                            ; +0xc, 0x1002e9bfc\nsub     rsp, 18h                                                       ; +0xd, 0x1002e9bfd\nmov     rbx, rdi                                                       ; +0x11, 0x1002e9c01\ncmp     byte ptr [rdi+254h], 1                                         ; +0x14, 0x1002e9c04\njnz     short loc_1002E9C23                                            ; +0x1b, 0x1002e9c0b\nmov     rdi, rbx                                                       ; +0x1d, 0x1002e9c0d\nadd     rsp, 18h                                                       ; +0x20, 0x1002e9c10\npop     rbx                                                            ; +0x24, 0x1002e9c14\npop     r12                                                            ; +0x25, 0x1002e9c15\npop     r13                                                            ; +0x27, 0x1002e9c17\npop     r14                                                            ; +0x29, 0x1002e9c19\npop     r15                                                            ; +0x2b, 0x1002e9c1b\npop     rbp                                                            ; +0x2d, 0x1002e9c1d\njmp     FLAlertLayer__show                                             ; +0x2e, 0x1002e9c1e\nmov     rax, [rbx]                                                     ; +0x33, 0x1002e9c23\nmov     rdi, rbx                                                       ; +0x36, 0x1002e9c26\ncall    qword ptr [rax+480h]                                           ; +0x39, 0x1002e9c29\nmov     r14d, eax                                                      ; +0x3f, 0x1002e9c2f\nmov     rdi, [rbx+248h]                                                ; +0x42, 0x1002e9c32\nmov     rax, [rdi]                                                     ; +0x49, 0x1002e9c39\ncall    qword ptr [rax+0C0h]                                           ; +0x4c, 0x1002e9c3c\nlea     r15, [rbp+var_30]                                              ; +0x52, 0x1002e9c42\nmov     rdi, r15                                                       ; +0x56, 0x1002e9c46\nmov     rsi, rax                                                       ; +0x59, 0x1002e9c49\ncall    sub_1002782D0                                                  ; +0x5c, 0x1002e9c4c\nmov     r12, [rbx+248h]                                                ; +0x61, 0x1002e9c51\nmovss   xmm1, [rbp+var_2C]                                             ; +0x68, 0x1002e9c58\nlea     r13, [rbp+var_38]                                              ; +0x6d, 0x1002e9c5d\nmovss   xmm0, cs:dword_100A04C44                                       ; +0x71, 0x1002e9c61\nmov     rdi, r13                                                       ; +0x79, 0x1002e9c69\ncall    sub_100278250                                                  ; +0x7c, 0x1002e9c6c\nmov     rax, [r12]                                                     ; +0x81, 0x1002e9c71\nmov     rdi, r12                                                       ; +0x85, 0x1002e9c75\nmov     rsi, r13                                                       ; +0x88, 0x1002e9c78\ncall    qword ptr [rax+0B8h]                                           ; +0x8b, 0x1002e9c7b\nmovss   xmm0, cs:dword_100A03578                                       ; +0x91, 0x1002e9c81\nmov     rdi, r15                                                       ; +0x99, 0x1002e9c89\ncall    cocos2d__CCMoveTo__create                                      ; +0x9c, 0x1002e9c8c\nmovss   xmm0, cs:dword_100A037D4                                       ; +0xa1, 0x1002e9c91\nmov     rdi, rax                                                       ; +0xa9, 0x1002e9c99\ncall    cocos2d__CCEaseElasticOut__create                              ; +0xac, 0x1002e9c9c\nmov     rdi, [rbx+248h]                                                ; +0xb1, 0x1002e9ca1\nmov     rsi, rax                                                       ; +0xb8, 0x1002e9ca8\ncall    cocos2d__CCNode__runAction                                     ; +0xbb, 0x1002e9cab\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xc0, 0x1002e9cb0\nmov     r15, [rbx+238h]                                                ; +0xc5, 0x1002e9cb5\ntest    r15, r15                                                       ; +0xcc, 0x1002e9cbc\njz      short loc_1002E9D33                                            ; +0xcf, 0x1002e9cbf\nmov     edx, [rbx+250h]                                                ; +0xd1, 0x1002e9cc1\ntest    edx, edx                                                       ; +0xd7, 0x1002e9cc7\njnz     short loc_1002E9CDA                                            ; +0xd9, 0x1002e9cc9\nmov     dword ptr [rbx+250h], 69h ; 'i'                                ; +0xdb, 0x1002e9ccb\nmov     edx, 69h ; 'i'                                                 ; +0xe5, 0x1002e9cd5\nmov     rax, [r15]                                                     ; +0xea, 0x1002e9cda\nmov     rdi, r15                                                       ; +0xed, 0x1002e9cdd\nmov     rsi, rbx                                                       ; +0xf0, 0x1002e9ce0\ncall    qword ptr [rax+1D0h]                                           ; +0xf3, 0x1002e9ce3\nmov     rax, [rbx]                                                     ; +0xf9, 0x1002e9ce9\nmov     rdi, rbx                                                       ; +0xfc, 0x1002e9cec\nxor     esi, esi                                                       ; +0xff, 0x1002e9cef\ncall    qword ptr [rax+490h]                                           ; +0x101, 0x1002e9cf1\nmovzx   edi, r14b                                                      ; +0x107, 0x1002e9cf7\nmovss   xmm0, cs:dword_100A05E70                                       ; +0x10b, 0x1002e9cfb\ncall    cocos2d__CCFadeTo__create                                      ; +0x113, 0x1002e9d03\nmov     rdi, rbx                                                       ; +0x118, 0x1002e9d08\nmov     rsi, rax                                                       ; +0x11b, 0x1002e9d0b\ncall    cocos2d__CCNode__runAction                                     ; +0x11e, 0x1002e9d0e\nmov     rax, [rbx]                                                     ; +0x123, 0x1002e9d13\nmov     rdi, rbx                                                       ; +0x126, 0x1002e9d16\nmov     esi, 1                                                         ; +0x129, 0x1002e9d19\ncall    qword ptr [rax+158h]                                           ; +0x12e, 0x1002e9d1e\nadd     rsp, 18h                                                       ; +0x134, 0x1002e9d24\npop     rbx                                                            ; +0x138, 0x1002e9d28\npop     r12                                                            ; +0x139, 0x1002e9d29\npop     r13                                                            ; +0x13b, 0x1002e9d2b\npop     r14                                                            ; +0x13d, 0x1002e9d2d\npop     r15                                                            ; +0x13f, 0x1002e9d2f\npop     rbp                                                            ; +0x141, 0x1002e9d31\nretn                                                                   ; +0x142, 0x1002e9d32\nmov     r15, [rax+110h]                                                ; +0x143, 0x1002e9d33\nmov     rdi, r15                                                       ; +0x14a, 0x1002e9d3a\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x14d, 0x1002e9d3d\nmov     edx, 69h ; 'i'                                                 ; +0x152, 0x1002e9d42\ncmp     eax, 69h ; 'i'                                                 ; +0x157, 0x1002e9d47\njl      short loc_1002E9D58                                            ; +0x15a, 0x1002e9d4a\nmov     rdi, r15                                                       ; +0x15c, 0x1002e9d4c\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x15f, 0x1002e9d4f\nmov     edx, eax                                                       ; +0x164, 0x1002e9d54\ninc     edx                                                            ; +0x166, 0x1002e9d56\nmov     [rbx+250h], edx                                                ; +0x168, 0x1002e9d58\ntest    edx, edx                                                       ; +0x16e, 0x1002e9d5e\njnz     loc_1002E9CDA                                                  ; +0x170, 0x1002e9d60\njmp     loc_1002E9CCB                                                  ; +0x176, 0x1002e9d66", "xrefs": ["<???> @ 0x100b11ed0"], "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"}