{"type": "func", "start": 4299801888, "end": 4299802312, "name": "FLAlertLayer::show", "pseudocode": "// \n// FLAlertLayer::show from 0x10049c520 to 0x10049c6c8 (424 bytes)\n// \n// 82 xrefs:\n// > RewardsPage::show @ 0x10021b8f3\n// > DailyLevelPage::show @ 0x10023214e\n// > GJPromoPopup::show @ 0x1002b68de\n// > PromoInterstitial::show @ 0x1002d481e\n// > GJPathsLayer::show @ 0x1002fef3e\n// > GJPathPage::show @ 0x100302c1e\n// > TopArtistsLayer::show @ 0x100311cbe\n// > CommunityCreditsPage::show @ 0x100320dde\n// > ChallengesPage::show @ 0x10039e56e\n// > WorldLevelPage::show @ 0x1003c6a53\n// > LevelLeaderboard::show @ 0x1003dc3fe\n// > FollowRewardPage::show @ 0x10042180e\n// > ShardsPage::show @ 0x1004c784e\n// > TutorialPopup::show @ 0x1005d46ba\n// > CharacterColorPage::show @ 0x10065e86e\n// > InfoLayer::show @ 0x1007b326a\n// > ProfilePage::show @ 0x1007bfbc3\n// > <???> @ 0x1008d9890\n// > <???> @ 0x1008dcbb0\n// > <???> @ 0x1008de800\n// > <???> @ 0x1008deec8\n// > <???> @ 0x1008df5d0\n// > <???> @ 0x1008e0448\n// > <???> @ 0x1008e1748\n// > <???> @ 0x1008ec948\n// > <???> @ 0x1008ed0e8\n// > <???> @ 0x1008ed798\n// > <???> @ 0x1008f1560\n// > <???> @ 0x1008f2350\n// > <???> @ 0x1008f2a60\n// > <???> @ 0x1008f4170\n// > <???> @ 0x1008f83b8\n// > <???> @ 0x1008f9908\n// > <???> @ 0x1008fa0f8\n// > <???> @ 0x1008fa7d8\n// > <???> @ 0x1008faef8\n// > <???> @ 0x1008fb648\n// > <???> @ 0x1008ff418\n// > <???> @ 0x100901aa8\n// > <???> @ 0x10090b4f0\n// > <???> @ 0x10090d268\n// > <???> @ 0x100910b80\n// > <???> @ 0x1009141d8\n// > <???> @ 0x100918ef0\n// > <???> @ 0x1009195a0\n// > <???> @ 0x10091ce30\n// > <???> @ 0x100936ab0\n// > <???> @ 0x100938660\n// > <???> @ 0x100938e80\n// > <???> @ 0x10093a490\n// > <???> @ 0x100943298\n// > <???> @ 0x100944418\n// > <???> @ 0x100944b90\n// > <???> @ 0x1009453c0\n// > <???> @ 0x100955308\n// > <???> @ 0x100956e28\n// > <???> @ 0x100957558\n// > <???> @ 0x100957c10\n// > <???> @ 0x10095aa08\n// > <???> @ 0x10095c138\n// > <???> @ 0x10095c878\n// > <???> @ 0x100963290\n// > <???> @ 0x100964750\n// > <???> @ 0x100976120\n// > <???> @ 0x10097c780\n// > <???> @ 0x10097e0a8\n// > <???> @ 0x100980368\n// > <???> @ 0x100980b60\n// > <???> @ 0x100981328\n// > <???> @ 0x100982f28\n// > <???> @ 0x100983668\n// > <???> @ 0x1009848c8\n// > <???> @ 0x100984fd0\n// > <???> @ 0x1009864c0\n// > <???> @ 0x10098b9c8\n// > <???> @ 0x10098ebb8\n// > <???> @ 0x10098f300\n// > <???> @ 0x10098f9b0\n// > <???> @ 0x1009900a8\n// > <???> @ 0x100993228\n// > <???> @ 0x100994b60\n// > <???> @ 0x100995228\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 FLAlertLayer::show(FLAlertLayer *a1)\n{\n  cocos2d::CCDirector *v1; // rax\n  cocos2d::CCScene *m_pRunningScene; // r14\n  unsigned __int8 v3; // r14\n  cocos2d::CCScaleTo *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 v9; // eax\n  int v10; // edx\n  int HighestChildZ; // eax\n  int v12; // edx\n\n  if ( !a1->m_noElasticity )\n  {\n    v3 = ((__int64 (__fastcall *)(FLAlertLayer *))a1->getOpacity)(a1);\n    ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(a1->m_mainLayer, 0.1);\n    v4 = cocos2d::CCScaleTo::create_1(0.5, 1.0);\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      if ( a1->m_ZOrder )\n      {\nLABEL_9:\n        ((void (__fastcall *)(cocos2d::CCScene *, FLAlertLayer *))m_scene->addChild_0)(m_scene, a1);\n        ((void (__fastcall *)(FLAlertLayer *, _QWORD))a1->setOpacity)(a1, 0);\n        v8 = cocos2d::CCFadeTo::create(0.14, v3);\n        cocos2d::CCNode::runAction(a1, v8);\n        goto LABEL_10;\n      }\n    }\n    else\n    {\n      m_scene = v6->m_pRunningScene;\n      HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_scene);\n      v12 = 105;\n      if ( HighestChildZ >= 105 )\n        v12 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;\n      a1->m_ZOrder = v12;\n      if ( v12 )\n        goto LABEL_9;\n    }\n    a1->m_ZOrder = 105;\n    goto LABEL_9;\n  }\n  v1 = cocos2d::CCDirector::sharedDirector();\n  m_pRunningScene = (cocos2d::CCScene *)a1->m_scene;\n  if ( !m_pRunningScene )\n  {\n    m_pRunningScene = v1->m_pRunningScene;\n    v9 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene);\n    v10 = 105;\n    if ( v9 >= 105 )\n      v10 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1;\n    a1->m_ZOrder = v10;\n    if ( v10 )\n      goto LABEL_5;\n    goto LABEL_4;\n  }\n  if ( !a1->m_ZOrder )\nLABEL_4:\n    a1->m_ZOrder = 105;\nLABEL_5:\n  ((void (__fastcall *)(cocos2d::CCScene *, FLAlertLayer *))m_pRunningScene->addChild_0)(m_pRunningScene, a1);\nLABEL_10:\n  ((void (__fastcall *)(FLAlertLayer *, __int64))a1->setVisible)(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::show from 0x10049c520 to 0x10049c6c8 (424 bytes)\n; \n; 82 xrefs:\n; > RewardsPage::show @ 0x10021b8f3\n; > DailyLevelPage::show @ 0x10023214e\n; > GJPromoPopup::show @ 0x1002b68de\n; > PromoInterstitial::show @ 0x1002d481e\n; > GJPathsLayer::show @ 0x1002fef3e\n; > GJPathPage::show @ 0x100302c1e\n; > TopArtistsLayer::show @ 0x100311cbe\n; > CommunityCreditsPage::show @ 0x100320dde\n; > ChallengesPage::show @ 0x10039e56e\n; > WorldLevelPage::show @ 0x1003c6a53\n; > LevelLeaderboard::show @ 0x1003dc3fe\n; > FollowRewardPage::show @ 0x10042180e\n; > ShardsPage::show @ 0x1004c784e\n; > TutorialPopup::show @ 0x1005d46ba\n; > CharacterColorPage::show @ 0x10065e86e\n; > InfoLayer::show @ 0x1007b326a\n; > ProfilePage::show @ 0x1007bfbc3\n; > <???> @ 0x1008d9890\n; > <???> @ 0x1008dcbb0\n; > <???> @ 0x1008de800\n; > <???> @ 0x1008deec8\n; > <???> @ 0x1008df5d0\n; > <???> @ 0x1008e0448\n; > <???> @ 0x1008e1748\n; > <???> @ 0x1008ec948\n; > <???> @ 0x1008ed0e8\n; > <???> @ 0x1008ed798\n; > <???> @ 0x1008f1560\n; > <???> @ 0x1008f2350\n; > <???> @ 0x1008f2a60\n; > <???> @ 0x1008f4170\n; > <???> @ 0x1008f83b8\n; > <???> @ 0x1008f9908\n; > <???> @ 0x1008fa0f8\n; > <???> @ 0x1008fa7d8\n; > <???> @ 0x1008faef8\n; > <???> @ 0x1008fb648\n; > <???> @ 0x1008ff418\n; > <???> @ 0x100901aa8\n; > <???> @ 0x10090b4f0\n; > <???> @ 0x10090d268\n; > <???> @ 0x100910b80\n; > <???> @ 0x1009141d8\n; > <???> @ 0x100918ef0\n; > <???> @ 0x1009195a0\n; > <???> @ 0x10091ce30\n; > <???> @ 0x100936ab0\n; > <???> @ 0x100938660\n; > <???> @ 0x100938e80\n; > <???> @ 0x10093a490\n; > <???> @ 0x100943298\n; > <???> @ 0x100944418\n; > <???> @ 0x100944b90\n; > <???> @ 0x1009453c0\n; > <???> @ 0x100955308\n; > <???> @ 0x100956e28\n; > <???> @ 0x100957558\n; > <???> @ 0x100957c10\n; > <???> @ 0x10095aa08\n; > <???> @ 0x10095c138\n; > <???> @ 0x10095c878\n; > <???> @ 0x100963290\n; > <???> @ 0x100964750\n; > <???> @ 0x100976120\n; > <???> @ 0x10097c780\n; > <???> @ 0x10097e0a8\n; > <???> @ 0x100980368\n; > <???> @ 0x100980b60\n; > <???> @ 0x100981328\n; > <???> @ 0x100982f28\n; > <???> @ 0x100983668\n; > <???> @ 0x1009848c8\n; > <???> @ 0x100984fd0\n; > <???> @ 0x1009864c0\n; > <???> @ 0x10098b9c8\n; > <???> @ 0x10098ebb8\n; > <???> @ 0x10098f300\n; > <???> @ 0x10098f9b0\n; > <???> @ 0x1009900a8\n; > <???> @ 0x100993228\n; > <???> @ 0x100994b60\n; > <???> @ 0x100995228\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, 0x10049c520\nmov     rbp, rsp                                                       ; +0x1, 0x10049c521\npush    r15                                                            ; +0x4, 0x10049c524\npush    r14                                                            ; +0x6, 0x10049c526\npush    rbx                                                            ; +0x8, 0x10049c528\npush    rax                                                            ; +0x9, 0x10049c529\nmov     rbx, rdi                                                       ; +0xa, 0x10049c52a\ncmp     byte ptr [rdi+24Ch], 0                                         ; +0xd, 0x10049c52d\njz      short loc_10049C578                                            ; +0x14, 0x10049c534\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x16, 0x10049c536\nmov     r14, [rbx+230h]                                                ; +0x1b, 0x10049c53b\ntest    r14, r14                                                       ; +0x22, 0x10049c542\njz      loc_10049C658                                                  ; +0x25, 0x10049c545\nmov     edx, [rbx+248h]                                                ; +0x2b, 0x10049c54b\ntest    edx, edx                                                       ; +0x31, 0x10049c551\njnz     short loc_10049C564                                            ; +0x33, 0x10049c553\nmov     dword ptr [rbx+248h], 69h ; 'i'                                ; +0x35, 0x10049c555\nmov     edx, 69h ; 'i'                                                 ; +0x3f, 0x10049c55f\nmov     rax, [r14]                                                     ; +0x44, 0x10049c564\nmov     rdi, r14                                                       ; +0x47, 0x10049c567\nmov     rsi, rbx                                                       ; +0x4a, 0x10049c56a\ncall    qword ptr [rax+1C0h]                                           ; +0x4d, 0x10049c56d\njmp     loc_10049C63A                                                  ; +0x53, 0x10049c573\nmov     rax, [rbx]                                                     ; +0x58, 0x10049c578\nmov     rdi, rbx                                                       ; +0x5b, 0x10049c57b\ncall    qword ptr [rax+470h]                                           ; +0x5e, 0x10049c57e\nmov     r14d, eax                                                      ; +0x64, 0x10049c584\nmov     rdi, [rbx+240h]                                                ; +0x67, 0x10049c587\nmov     rax, [rdi]                                                     ; +0x6e, 0x10049c58e\nmovss   xmm0, cs:dword_100815058                                       ; +0x71, 0x10049c591\ncall    qword ptr [rax+0A0h]                                           ; +0x79, 0x10049c599\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x7f, 0x10049c59f\nmovss   xmm1, cs:alpha                                                 ; +0x87, 0x10049c5a7\ncall    cocos2d__CCScaleTo__create_1                                   ; +0x8f, 0x10049c5af\nmovss   xmm0, cs:dword_100814FB0                                       ; +0x94, 0x10049c5b4\nmov     rdi, rax                                                       ; +0x9c, 0x10049c5bc\ncall    cocos2d__CCEaseElasticOut__create                              ; +0x9f, 0x10049c5bf\nmov     rdi, [rbx+240h]                                                ; +0xa4, 0x10049c5c4\nmov     rsi, rax                                                       ; +0xab, 0x10049c5cb\ncall    cocos2d__CCNode__runAction                                     ; +0xae, 0x10049c5ce\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xb3, 0x10049c5d3\nmov     r15, [rbx+230h]                                                ; +0xb8, 0x10049c5d8\ntest    r15, r15                                                       ; +0xbf, 0x10049c5df\njz      loc_10049C690                                                  ; +0xc2, 0x10049c5e2\nmov     edx, [rbx+248h]                                                ; +0xc8, 0x10049c5e8\ntest    edx, edx                                                       ; +0xce, 0x10049c5ee\njnz     short loc_10049C601                                            ; +0xd0, 0x10049c5f0\nmov     dword ptr [rbx+248h], 69h ; 'i'                                ; +0xd2, 0x10049c5f2\nmov     edx, 69h ; 'i'                                                 ; +0xdc, 0x10049c5fc\nmov     rax, [r15]                                                     ; +0xe1, 0x10049c601\nmov     rdi, r15                                                       ; +0xe4, 0x10049c604\nmov     rsi, rbx                                                       ; +0xe7, 0x10049c607\ncall    qword ptr [rax+1C0h]                                           ; +0xea, 0x10049c60a\nmov     rax, [rbx]                                                     ; +0xf0, 0x10049c610\nmov     rdi, rbx                                                       ; +0xf3, 0x10049c613\nxor     esi, esi                                                       ; +0xf6, 0x10049c616\ncall    qword ptr [rax+480h]                                           ; +0xf8, 0x10049c618\nmovzx   edi, r14b                                                      ; +0xfe, 0x10049c61e\nmovss   xmm0, cs:dword_100817A50                                       ; +0x102, 0x10049c622\ncall    cocos2d__CCFadeTo__create                                      ; +0x10a, 0x10049c62a\nmov     rdi, rbx                                                       ; +0x10f, 0x10049c62f\nmov     rsi, rax                                                       ; +0x112, 0x10049c632\ncall    cocos2d__CCNode__runAction                                     ; +0x115, 0x10049c635\nmov     rax, [rbx]                                                     ; +0x11a, 0x10049c63a\nmov     rax, [rax+148h]                                                ; +0x11d, 0x10049c63d\nmov     rdi, rbx                                                       ; +0x124, 0x10049c644\nmov     esi, 1                                                         ; +0x127, 0x10049c647\nadd     rsp, 8                                                         ; +0x12c, 0x10049c64c\npop     rbx                                                            ; +0x130, 0x10049c650\npop     r14                                                            ; +0x131, 0x10049c651\npop     r15                                                            ; +0x133, 0x10049c653\npop     rbp                                                            ; +0x135, 0x10049c655\njmp     rax                                                            ; +0x136, 0x10049c656\nmov     r14, [rax+108h]                                                ; +0x138, 0x10049c658\nmov     rdi, r14                                                       ; +0x13f, 0x10049c65f\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x142, 0x10049c662\nmov     edx, 69h ; 'i'                                                 ; +0x147, 0x10049c667\ncmp     eax, 69h ; 'i'                                                 ; +0x14c, 0x10049c66c\njl      short loc_10049C67D                                            ; +0x14f, 0x10049c66f\nmov     rdi, r14                                                       ; +0x151, 0x10049c671\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x154, 0x10049c674\nmov     edx, eax                                                       ; +0x159, 0x10049c679\ninc     edx                                                            ; +0x15b, 0x10049c67b\nmov     [rbx+248h], edx                                                ; +0x15d, 0x10049c67d\ntest    edx, edx                                                       ; +0x163, 0x10049c683\njnz     loc_10049C564                                                  ; +0x165, 0x10049c685\njmp     loc_10049C555                                                  ; +0x16b, 0x10049c68b\nmov     r15, [rax+108h]                                                ; +0x170, 0x10049c690\nmov     rdi, r15                                                       ; +0x177, 0x10049c697\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x17a, 0x10049c69a\nmov     edx, 69h ; 'i'                                                 ; +0x17f, 0x10049c69f\ncmp     eax, 69h ; 'i'                                                 ; +0x184, 0x10049c6a4\njl      short loc_10049C6B5                                            ; +0x187, 0x10049c6a7\nmov     rdi, r15                                                       ; +0x189, 0x10049c6a9\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x18c, 0x10049c6ac\nmov     edx, eax                                                       ; +0x191, 0x10049c6b1\ninc     edx                                                            ; +0x193, 0x10049c6b3\nmov     [rbx+248h], edx                                                ; +0x195, 0x10049c6b5\ntest    edx, edx                                                       ; +0x19b, 0x10049c6bb\njnz     loc_10049C601                                                  ; +0x19d, 0x10049c6bd\njmp     loc_10049C5F2                                                  ; +0x1a3, 0x10049c6c3", "xrefs": ["RewardsPage::show @ 0x10021b8f3", "DailyLevelPage::show @ 0x10023214e", "GJPromoPopup::show @ 0x1002b68de", "PromoInterstitial::show @ 0x1002d481e", "GJPathsLayer::show @ 0x1002fef3e", "GJPathPage::show @ 0x100302c1e", "TopArtistsLayer::show @ 0x100311cbe", "CommunityCreditsPage::show @ 0x100320dde", "ChallengesPage::show @ 0x10039e56e", "WorldLevelPage::show @ 0x1003c6a53", "LevelLeaderboard::show @ 0x1003dc3fe", "FollowRewardPage::show @ 0x10042180e", "ShardsPage::show @ 0x1004c784e", "TutorialPopup::show @ 0x1005d46ba", "CharacterColorPage::show @ 0x10065e86e", "InfoLayer::show @ 0x1007b326a", "ProfilePage::show @ 0x1007bfbc3", "<???> @ 0x1008d9890", "<???> @ 0x1008dcbb0", "<???> @ 0x1008de800", "<???> @ 0x1008deec8", "<???> @ 0x1008df5d0", "<???> @ 0x1008e0448", "<???> @ 0x1008e1748", "<???> @ 0x1008ec948", "<???> @ 0x1008ed0e8", "<???> @ 0x1008ed798", "<???> @ 0x1008f1560", "<???> @ 0x1008f2350", "<???> @ 0x1008f2a60", "<???> @ 0x1008f4170", "<???> @ 0x1008f83b8", "<???> @ 0x1008f9908", "<???> @ 0x1008fa0f8", "<???> @ 0x1008fa7d8", "<???> @ 0x1008faef8", "<???> @ 0x1008fb648", "<???> @ 0x1008ff418", "<???> @ 0x100901aa8", "<???> @ 0x10090b4f0", "<???> @ 0x10090d268", "<???> @ 0x100910b80", "<???> @ 0x1009141d8", "<???> @ 0x100918ef0", "<???> @ 0x1009195a0", "<???> @ 0x10091ce30", "<???> @ 0x100936ab0", "<???> @ 0x100938660", "<???> @ 0x100938e80", "<???> @ 0x10093a490", "<???> @ 0x100943298", "<???> @ 0x100944418", "<???> @ 0x100944b90", "<???> @ 0x1009453c0", "<???> @ 0x100955308", "<???> @ 0x100956e28", "<???> @ 0x100957558", "<???> @ 0x100957c10", "<???> @ 0x10095aa08", "<???> @ 0x10095c138", "<???> @ 0x10095c878", "<???> @ 0x100963290", "<???> @ 0x100964750", "<???> @ 0x100976120", "<???> @ 0x10097c780", "<???> @ 0x10097e0a8", "<???> @ 0x100980368", "<???> @ 0x100980b60", "<???> @ 0x100981328", "<???> @ 0x100982f28", "<???> @ 0x100983668", "<???> @ 0x1009848c8", "<???> @ 0x100984fd0", "<???> @ 0x1009864c0", "<???> @ 0x10098b9c8", "<???> @ 0x10098ebb8", "<???> @ 0x10098f300", "<???> @ 0x10098f9b0", "<???> @ 0x1009900a8", "<???> @ 0x100993228", "<???> @ 0x100994b60", "<???> @ 0x100995228"], "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"}