{"type": "func", "start": 10932404, "end": 10932808, "name": "GJPathPage::show", "pseudocode": "// \n// GJPathPage::show from 0xa6d0b4 to 0xa6d248 (404 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x35aa8\n// > <???> @ 0x11ee4f8\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 GJPathPage::show(GJPathPage *a1)\n{\n  unsigned __int8 v2; // w23\n  const cocos2d::CCPoint *v3; // x0\n  cocos2d::CCLayer *m_mainLayer; // x24\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22\n  cocos2d::CCEaseElasticOut *v6; // x0\n  cocos2d::CCActionInterval *v7; // x1\n  cocos2d::CCAction *v8; // x0\n  cocos2d::CCDirector *v9; // x0\n  cocos2d::CCScene *m_pRunningScene; // x21\n  cocos2d::CCNode *m_scene; // x1\n  cocos2d::CCFadeTo *v12; // x0\n  int HighestChildZ; // w0\n  int v14; // w2\n  cocos2d::CCPoint v15; // [xsp+58h] [xbp+58h] BYREF\n  cocos2d::CCPoint v16; // [xsp+60h] [xbp+60h] BYREF\n\n  if ( !a1->m_noElasticity )\n  {\n    v2 = a1->getOpacity(a1);\n    v3 = a1->m_mainLayer->getPosition(a1->m_mainLayer);\n    cocos2d::CCPoint::CCPoint(&v15, v3);\n    m_mainLayer = a1->m_mainLayer;\n    setPosition = m_mainLayer->setPosition;\n    cocos2d::CCPoint::CCPoint(&v16, -160.0, v15.y);\n    setPosition(m_mainLayer, &v16);\n    v6 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create(0.5, &v15);\n    v8 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v6, v7, 0.6);\n    cocos2d::CCNode::runAction(a1->m_mainLayer, v8);\n    v9 = cocos2d::CCDirector::sharedDirector();\n    m_pRunningScene = v9->m_pRunningScene;\n    m_scene = a1->m_scene;\n    if ( m_scene )\n    {\n      if ( a1->m_ZOrder )\n      {\nLABEL_4:\n        ((void (__fastcall *)(cocos2d::CCNode *, GJPathPage *))m_scene->addChild_0)(m_scene, a1);\n        a1->setOpacity(a1, 0);\n        v12 = cocos2d::CCFadeTo::create(0.14, v2);\n        cocos2d::CCNode::runAction(a1, v12);\n        a1->setVisible(a1, 1);\n        return;\n      }\n    }\n    else\n    {\n      HighestChildZ = cocos2d::CCScene::getHighestChildZ(v9->m_pRunningScene);\n      v14 = 105;\n      if ( HighestChildZ > 104 )\n        v14 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1;\n      a1->m_ZOrder = v14;\n      m_scene = m_pRunningScene;\n      if ( v14 )\n        goto LABEL_4;\n    }\n    a1->m_ZOrder = 105;\n    goto LABEL_4;\n  }\n  FLAlertLayer::show(a1);\n}", "assembly": "; \n; GJPathPage::show from 0xa6d0b4 to 0xa6d248 (404 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x35aa8\n; > <???> @ 0x11ee4f8\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\nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0xa6d0b4\nMOV             X29, SP                                                ; +0x4, 0xa6d0b8\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0xa6d0bc\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xa6d0c0\nLDRB            W1, [X0,#0x24C]                                        ; +0x10, 0xa6d0c4\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x14, 0xa6d0c8\nSTP             X23, X24, [SP,#0x70+var_40]                            ; +0x18, 0xa6d0cc\nLDR             X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xa6d0d0\nMOV             X19, X0                                                ; +0x20, 0xa6d0d4\nLDR             X2, [X2]                                               ; +0x24, 0xa6d0d8\nSTR             X2, [X29,#0x70+var_8]                                  ; +0x28, 0xa6d0dc\nCBNZ            W1, loc_A6D208                                         ; +0x2c, 0xa6d0e0\nLDR             X1, [X0]                                               ; +0x30, 0xa6d0e4\nADD             X21, X29, #0x70+var_18                                 ; +0x34, 0xa6d0e8\nADD             X22, X29, #0x70+var_10                                 ; +0x38, 0xa6d0ec\nLDR             X1, [X1,#0x470]                                        ; +0x3c, 0xa6d0f0\nBLR             X1                                                     ; +0x40, 0xa6d0f4\nMOV             W23, W0                                                ; +0x44, 0xa6d0f8\nLDR             X1, [X19,#0x240]                                       ; +0x48, 0xa6d0fc\nMOV             X0, X1                                                 ; +0x4c, 0xa6d100\nLDR             X1, [X1]                                               ; +0x50, 0xa6d104\nLDR             X1, [X1,#0xC0]                                         ; +0x54, 0xa6d108\nBLR             X1                                                     ; +0x58, 0xa6d10c\nMOV             X1, X0; cocos2d::CCPoint *                             ; +0x5c, 0xa6d110\nMOV             X0, X21; this                                          ; +0x60, 0xa6d114\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x64, 0xa6d118\nLDR             X24, [X19,#0x240]                                      ; +0x68, 0xa6d11c\nLDR             S1, [X29,#0x70+var_14]; float                          ; +0x6c, 0xa6d120\nMOV             X0, X22; this                                          ; +0x70, 0xa6d124\nLDR             S0, flt_A6D248; float                                  ; +0x74, 0xa6d128\nSTR             X22, [X29,#0x70+var_28]                                ; +0x78, 0xa6d12c\nLDR             X2, [X24]                                              ; +0x7c, 0xa6d130\nLDR             X22, [X2,#0xB8]                                        ; +0x80, 0xa6d134\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x84, 0xa6d138\nLDR             X1, [X29,#0x70+var_28]                                 ; +0x88, 0xa6d13c\nMOV             X0, X24                                                ; +0x8c, 0xa6d140\nBLR             X22                                                    ; +0x90, 0xa6d144\nFMOV            S0, #0.5; float                                        ; +0x94, 0xa6d148\nMOV             X0, X21; this                                          ; +0x98, 0xa6d14c\nBL              _ZN7cocos2d8CCMoveTo6createEfRKNS_7CCPointE; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const&) ; +0x9c, 0xa6d150\nLDR             S0, flt_A6D24C; float                                  ; +0xa0, 0xa6d154\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0xa4, 0xa6d158\nMOV             X1, X0; cocos2d::CCAction *                            ; +0xa8, 0xa6d15c\nLDR             X0, [X19,#0x240]; this                                 ; +0xac, 0xa6d160\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb0, 0xa6d164\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xb4, 0xa6d168\nLDR             X21, [X0,#0x108]                                       ; +0xb8, 0xa6d16c\nLDR             X1, [X19,#0x230]                                       ; +0xbc, 0xa6d170\nCBZ             X1, loc_A6D210                                         ; +0xc0, 0xa6d174\nLDR             W2, [X19,#0x248]                                       ; +0xc4, 0xa6d178\nCBZ             W2, loc_A6D1FC                                         ; +0xc8, 0xa6d17c\nLDR             X3, [X1]                                               ; +0xcc, 0xa6d180\nMOV             X0, X1                                                 ; +0xd0, 0xa6d184\nMOV             X1, X19                                                ; +0xd4, 0xa6d188\nLDR             X3, [X3,#0x1C0]                                        ; +0xd8, 0xa6d18c\nBLR             X3                                                     ; +0xdc, 0xa6d190\nLDR             X2, [X19]                                              ; +0xe0, 0xa6d194\nMOV             W1, #0                                                 ; +0xe4, 0xa6d198\nMOV             X0, X19                                                ; +0xe8, 0xa6d19c\nLDR             X2, [X2,#0x480]                                        ; +0xec, 0xa6d1a0\nBLR             X2                                                     ; +0xf0, 0xa6d1a4\nLDR             S0, flt_A6D250; float                                  ; +0xf4, 0xa6d1a8\nMOV             W0, W23; this                                          ; +0xf8, 0xa6d1ac\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xfc, 0xa6d1b0\nMOV             X1, X0; cocos2d::CCAction *                            ; +0x100, 0xa6d1b4\nMOV             X0, X19; this                                          ; +0x104, 0xa6d1b8\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x108, 0xa6d1bc\nLDR             X2, [X19]                                              ; +0x10c, 0xa6d1c0\nMOV             X0, X19                                                ; +0x110, 0xa6d1c4\nMOV             W1, #1                                                 ; +0x114, 0xa6d1c8\nLDR             X2, [X2,#0x148]                                        ; +0x118, 0xa6d1cc\nBLR             X2                                                     ; +0x11c, 0xa6d1d0\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x120, 0xa6d1d4\nLDR             X1, [X29,#0x70+var_8]                                  ; +0x124, 0xa6d1d8\nLDR             X0, [X20]; this                                        ; +0x128, 0xa6d1dc\nCMP             X1, X0                                                 ; +0x12c, 0xa6d1e0\nB.NE            loc_A6D244                                             ; +0x130, 0xa6d1e4\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x134, 0xa6d1e8\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x138, 0xa6d1ec\nLDP             X23, X24, [SP,#0x70+var_40]                            ; +0x13c, 0xa6d1f0\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x140, 0xa6d1f4\nRET                                                                    ; +0x144, 0xa6d1f8\nMOV             W2, #0x69 ; 'i'                                        ; +0x148, 0xa6d1fc\nSTR             W2, [X19,#0x248]                                       ; +0x14c, 0xa6d200\nB               loc_A6D180                                             ; +0x150, 0xa6d204\nBL              _ZN12FLAlertLayer4showEv; FLAlertLayer::show(void)     ; +0x154, 0xa6d208\nB               loc_A6D1D4                                             ; +0x158, 0xa6d20c\nMOV             X0, X21; this                                          ; +0x15c, 0xa6d210\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x160, 0xa6d214\nCMP             W0, #0x68 ; 'h'                                        ; +0x164, 0xa6d218\nMOV             W2, #0x69 ; 'i'                                        ; +0x168, 0xa6d21c\nB.GT            loc_A6D234                                             ; +0x16c, 0xa6d220\nSTR             W2, [X19,#0x248]                                       ; +0x170, 0xa6d224\nMOV             X1, X21                                                ; +0x174, 0xa6d228\nCBNZ            W2, loc_A6D180                                         ; +0x178, 0xa6d22c\nB               loc_A6D1FC                                             ; +0x17c, 0xa6d230\nMOV             X0, X21; this                                          ; +0x180, 0xa6d234\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x184, 0xa6d238\nADD             W2, W0, #1                                             ; +0x188, 0xa6d23c\nB               loc_A6D224                                             ; +0x18c, 0xa6d240\nBL              .__stack_chk_fail                                      ; +0x190, 0xa6d244", "xrefs": ["<???> @ 0x35aa8", "<???> @ 0x11ee4f8"], "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"}