{"type": "func", "start": 4298124272, "end": 4298124651, "name": "GJPathPage::show", "pseudocode": "// \n// GJPathPage::show from 0x100302bf0 to 0x100302d6b (379 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10090adb0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJPathPage::show(GJPathPage *a1)\n{\n  unsigned __int8 v1; // r14\n  double *v2; // rax\n  cocos2d::CCLayer *m_mainLayer; // r12\n  cocos2d::CCMoveTo *v4; // rax\n  cocos2d::CCEaseElasticOut *v5; // rax\n  cocos2d::CCDirector *v6; // rax\n  cocos2d::CCScene *m_scene; // r15\n  cocos2d::CCFadeTo *v8; // rax\n  int HighestChildZ; // eax\n  int v10; // edx\n  float v11; // [rsp+8h] [rbp-38h] BYREF\n  cocos2d::CCPoint v12[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  if ( a1->m_noElasticity )\n  {\n    FLAlertLayer::show(a1);\n    return;\n  }\n  v1 = ((__int64 (__fastcall *)(GJPathPage *))a1->getOpacity)(a1);\n  v2 = (double *)((__int64 (__fastcall *)(cocos2d::CCLayer *))a1->m_mainLayer->getPosition)(a1->m_mainLayer);\n  sub_10028CC60(v12, v2);\n  m_mainLayer = a1->m_mainLayer;\n  sub_10028CBE0(&v11, -160.0, v12[0].y);\n  ((void (__fastcall *)(cocos2d::CCLayer *, float *))m_mainLayer->setPosition)(m_mainLayer, &v11);\n  v4 = cocos2d::CCMoveTo::create(0.5, v12);\n  v5 = cocos2d::CCEaseElasticOut::create(v4, 0.60000002);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v5);\n  v6 = cocos2d::CCDirector::sharedDirector();\n  m_scene = (cocos2d::CCScene *)a1->m_scene;\n  if ( !m_scene )\n  {\n    m_scene = v6->m_pRunningScene;\n    HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_scene);\n    v10 = 105;\n    if ( HighestChildZ >= 105 )\n      v10 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;\n    a1->m_ZOrder = v10;\n    if ( v10 )\n      goto LABEL_6;\n    goto LABEL_5;\n  }\n  if ( !a1->m_ZOrder )\nLABEL_5:\n    a1->m_ZOrder = 105;\nLABEL_6:\n  ((void (__fastcall *)(cocos2d::CCScene *, GJPathPage *))m_scene->addChild_0)(m_scene, a1);\n  ((void (__fastcall *)(GJPathPage *, _QWORD))a1->setOpacity)(a1, 0);\n  v8 = cocos2d::CCFadeTo::create(0.14, v1);\n  cocos2d::CCNode::runAction(a1, v8);\n  ((void (__fastcall *)(GJPathPage *, __int64))a1->setVisible)(a1, 1);\n}", "assembly": "; \n; GJPathPage::show from 0x100302bf0 to 0x100302d6b (379 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10090adb0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100302bf0\nmov     rbp, rsp                                                       ; +0x1, 0x100302bf1\npush    r15                                                            ; +0x4, 0x100302bf4\npush    r14                                                            ; +0x6, 0x100302bf6\npush    r13                                                            ; +0x8, 0x100302bf8\npush    r12                                                            ; +0xa, 0x100302bfa\npush    rbx                                                            ; +0xc, 0x100302bfc\nsub     rsp, 18h                                                       ; +0xd, 0x100302bfd\nmov     rbx, rdi                                                       ; +0x11, 0x100302c01\ncmp     byte ptr [rdi+24Ch], 1                                         ; +0x14, 0x100302c04\njnz     short loc_100302C23                                            ; +0x1b, 0x100302c0b\nmov     rdi, rbx                                                       ; +0x1d, 0x100302c0d\nadd     rsp, 18h                                                       ; +0x20, 0x100302c10\npop     rbx                                                            ; +0x24, 0x100302c14\npop     r12                                                            ; +0x25, 0x100302c15\npop     r13                                                            ; +0x27, 0x100302c17\npop     r14                                                            ; +0x29, 0x100302c19\npop     r15                                                            ; +0x2b, 0x100302c1b\npop     rbp                                                            ; +0x2d, 0x100302c1d\njmp     FLAlertLayer__show                                             ; +0x2e, 0x100302c1e\nmov     rax, [rbx]                                                     ; +0x33, 0x100302c23\nmov     rdi, rbx                                                       ; +0x36, 0x100302c26\ncall    qword ptr [rax+470h]                                           ; +0x39, 0x100302c29\nmov     r14d, eax                                                      ; +0x3f, 0x100302c2f\nmov     rdi, [rbx+240h]                                                ; +0x42, 0x100302c32\nmov     rax, [rdi]                                                     ; +0x49, 0x100302c39\ncall    qword ptr [rax+0C0h]                                           ; +0x4c, 0x100302c3c\nlea     r15, [rbp+var_30]                                              ; +0x52, 0x100302c42\nmov     rdi, r15                                                       ; +0x56, 0x100302c46\nmov     rsi, rax                                                       ; +0x59, 0x100302c49\ncall    sub_10028CC60                                                  ; +0x5c, 0x100302c4c\nmov     r12, [rbx+240h]                                                ; +0x61, 0x100302c51\nmovss   xmm1, [rbp+var_2C]                                             ; +0x68, 0x100302c58\nlea     r13, [rbp+var_38]                                              ; +0x6d, 0x100302c5d\nmovss   xmm0, cs:dword_10081687C                                       ; +0x71, 0x100302c61\nmov     rdi, r13                                                       ; +0x79, 0x100302c69\ncall    sub_10028CBE0                                                  ; +0x7c, 0x100302c6c\nmov     rax, [r12]                                                     ; +0x81, 0x100302c71\nmov     rdi, r12                                                       ; +0x85, 0x100302c75\nmov     rsi, r13                                                       ; +0x88, 0x100302c78\ncall    qword ptr [rax+0B8h]                                           ; +0x8b, 0x100302c7b\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x91, 0x100302c81\nmov     rdi, r15                                                       ; +0x99, 0x100302c89\ncall    cocos2d__CCMoveTo__create                                      ; +0x9c, 0x100302c8c\nmovss   xmm0, cs:dword_100814FB0                                       ; +0xa1, 0x100302c91\nmov     rdi, rax                                                       ; +0xa9, 0x100302c99\ncall    cocos2d__CCEaseElasticOut__create                              ; +0xac, 0x100302c9c\nmov     rdi, [rbx+240h]                                                ; +0xb1, 0x100302ca1\nmov     rsi, rax                                                       ; +0xb8, 0x100302ca8\ncall    cocos2d__CCNode__runAction                                     ; +0xbb, 0x100302cab\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xc0, 0x100302cb0\nmov     r15, [rbx+230h]                                                ; +0xc5, 0x100302cb5\ntest    r15, r15                                                       ; +0xcc, 0x100302cbc\njz      short loc_100302D33                                            ; +0xcf, 0x100302cbf\nmov     edx, [rbx+248h]                                                ; +0xd1, 0x100302cc1\ntest    edx, edx                                                       ; +0xd7, 0x100302cc7\njnz     short loc_100302CDA                                            ; +0xd9, 0x100302cc9\nmov     dword ptr [rbx+248h], 69h ; 'i'                                ; +0xdb, 0x100302ccb\nmov     edx, 69h ; 'i'                                                 ; +0xe5, 0x100302cd5\nmov     rax, [r15]                                                     ; +0xea, 0x100302cda\nmov     rdi, r15                                                       ; +0xed, 0x100302cdd\nmov     rsi, rbx                                                       ; +0xf0, 0x100302ce0\ncall    qword ptr [rax+1C0h]                                           ; +0xf3, 0x100302ce3\nmov     rax, [rbx]                                                     ; +0xf9, 0x100302ce9\nmov     rdi, rbx                                                       ; +0xfc, 0x100302cec\nxor     esi, esi                                                       ; +0xff, 0x100302cef\ncall    qword ptr [rax+480h]                                           ; +0x101, 0x100302cf1\nmovzx   edi, r14b                                                      ; +0x107, 0x100302cf7\nmovss   xmm0, cs:dword_100817A50                                       ; +0x10b, 0x100302cfb\ncall    cocos2d__CCFadeTo__create                                      ; +0x113, 0x100302d03\nmov     rdi, rbx                                                       ; +0x118, 0x100302d08\nmov     rsi, rax                                                       ; +0x11b, 0x100302d0b\ncall    cocos2d__CCNode__runAction                                     ; +0x11e, 0x100302d0e\nmov     rax, [rbx]                                                     ; +0x123, 0x100302d13\nmov     rdi, rbx                                                       ; +0x126, 0x100302d16\nmov     esi, 1                                                         ; +0x129, 0x100302d19\ncall    qword ptr [rax+148h]                                           ; +0x12e, 0x100302d1e\nadd     rsp, 18h                                                       ; +0x134, 0x100302d24\npop     rbx                                                            ; +0x138, 0x100302d28\npop     r12                                                            ; +0x139, 0x100302d29\npop     r13                                                            ; +0x13b, 0x100302d2b\npop     r14                                                            ; +0x13d, 0x100302d2d\npop     r15                                                            ; +0x13f, 0x100302d2f\npop     rbp                                                            ; +0x141, 0x100302d31\nretn                                                                   ; +0x142, 0x100302d32\nmov     r15, [rax+108h]                                                ; +0x143, 0x100302d33\nmov     rdi, r15                                                       ; +0x14a, 0x100302d3a\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x14d, 0x100302d3d\nmov     edx, 69h ; 'i'                                                 ; +0x152, 0x100302d42\ncmp     eax, 69h ; 'i'                                                 ; +0x157, 0x100302d47\njl      short loc_100302D58                                            ; +0x15a, 0x100302d4a\nmov     rdi, r15                                                       ; +0x15c, 0x100302d4c\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x15f, 0x100302d4f\nmov     edx, eax                                                       ; +0x164, 0x100302d54\ninc     edx                                                            ; +0x166, 0x100302d56\nmov     [rbx+248h], edx                                                ; +0x168, 0x100302d58\ntest    edx, edx                                                       ; +0x16e, 0x100302d5e\njnz     loc_100302CDA                                                  ; +0x170, 0x100302d60\njmp     loc_100302CCB                                                  ; +0x176, 0x100302d66", "xrefs": ["<???> @ 0x10090adb0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}