{"type": "func", "start": 3977752, "end": 3978050, "name": "FLAlertLayer::show", "pseudocode": "// \n// FLAlertLayer::show from 0x3cb218 to 0x3cb342 (298 bytes)\n// \n// 17 xrefs:\n// > TutorialPopup::show @ 0x41e740\n// > InfoLayer::show @ 0x53c9ea\n// > PromoInterstitial::show @ 0x5453da\n// > GJPromoPopup::show @ 0x5d4086\n// > ProfilePage::show @ 0x5f5a4e\n// > ChallengesPage::show @ 0x5ff44e\n// > DailyLevelPage::show @ 0x606dce\n// > LevelLeaderboard::show @ 0x61476a\n// > RewardsPage::show @ 0x616b06\n// > ShardsPage::show @ 0x62b316\n// > WorldLevelPage::show @ 0x62caea\n// > FollowRewardPage::show @ 0x62fac2\n// > TopArtistsLayer::show @ 0x6311ee\n// > CommunityCreditsPage::show @ 0x637512\n// > CharacterColorPage::show @ 0x69caee\n// > GJPathsLayer::show @ 0x6d178e\n// > GJPathPage::show @ 0x6d1892\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:37 +0000\n// \n\nint __fastcall FLAlertLayer::show(GameToolbox **this)\n{\n  float v2; // r7\n  float v3; // r2\n  cocos2d::CCEaseElasticOut *v4; // r0\n  float v5; // r2\n  cocos2d::CCAction *v6; // r0\n  cocos2d::CCDirector *v7; // r0\n  int v8; // r0\n  cocos2d::CCNode *v9; // r1\n  cocos2d::CCScene *v10; // r5\n  cocos2d::CCScene *v11; // r6\n  int v12; // r0\n  cocos2d::CCNode *v13; // r1\n  int v14; // r0\n  unsigned __int8 v15; // r2\n  cocos2d::CCAction *v16; // r0\n  int v17; // r0\n  cocos2d::CCNode *v18; // r1\n  cocos2d::CCScene *v19; // r5\n  cocos2d::CCScene *v20; // r6\n  int v21; // r0\n  cocos2d::CCNode *v22; // r1\n  int v23; // r0\n\n  if ( *((_BYTE *)this + 468) )\n  {\n    v17 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);\n    v19 = *(this + 113);\n    v20 = *(cocos2d::CCScene **)(v17 + 220);\n    if ( !v19 )\n    {\n      if ( (int)cocos2d::CCScene::getHighestChildZ(*(cocos2d::CCScene **)(v17 + 220)) <= 104 )\n        v21 = 105;\n      else\n        v21 = cocos2d::CCScene::getHighestChildZ(v20) + 1;\n      v19 = v20;\n      *(this + 116) = (GameToolbox *)v21;\n    }\n    if ( !*(this + 116) )\n    {\n      if ( (int)GameToolbox::highestChildZ(*(this + 113), v18) <= 104 )\n        v23 = 105;\n      else\n        v23 = GameToolbox::highestChildZ(*(this + 113), v22) + 1;\n      *(this + 116) = (GameToolbox *)v23;\n    }\n    (*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v19 + 232))(\n      v19,\n      this,\n      *(this + 116));\n  }\n  else\n  {\n    v2 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));\n    (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 80))(*(this + 115), 1036831949);\n    v4 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 1.0, v3);\n    v6 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v4, (cocos2d::CCActionInterval *)0x3F19999A, v5);\n    v7 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v6);\n    v8 = cocos2d::CCDirector::sharedDirector(v7);\n    v10 = *(this + 113);\n    v11 = *(cocos2d::CCScene **)(v8 + 220);\n    if ( !v10 )\n    {\n      if ( (int)cocos2d::CCScene::getHighestChildZ(*(cocos2d::CCScene **)(v8 + 220)) <= 104 )\n        v12 = 105;\n      else\n        v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1;\n      v10 = v11;\n      *(this + 116) = (GameToolbox *)v12;\n    }\n    if ( !*(this + 116) )\n    {\n      if ( (int)GameToolbox::highestChildZ(*(this + 113), v9) <= 104 )\n        v14 = 105;\n      else\n        v14 = GameToolbox::highestChildZ(*(this + 113), v13) + 1;\n      *(this + 116) = (GameToolbox *)v14;\n    }\n    (*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v10 + 232))(\n      v10,\n      this,\n      *(this + 116));\n    (*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);\n    v16 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v2, v15);\n    cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v16);\n  }\n  return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);\n}", "assembly": "; \n; FLAlertLayer::show from 0x3cb218 to 0x3cb342 (298 bytes)\n; \n; 17 xrefs:\n; > TutorialPopup::show @ 0x41e740\n; > InfoLayer::show @ 0x53c9ea\n; > PromoInterstitial::show @ 0x5453da\n; > GJPromoPopup::show @ 0x5d4086\n; > ProfilePage::show @ 0x5f5a4e\n; > ChallengesPage::show @ 0x5ff44e\n; > DailyLevelPage::show @ 0x606dce\n; > LevelLeaderboard::show @ 0x61476a\n; > RewardsPage::show @ 0x616b06\n; > ShardsPage::show @ 0x62b316\n; > WorldLevelPage::show @ 0x62caea\n; > FollowRewardPage::show @ 0x62fac2\n; > TopArtistsLayer::show @ 0x6311ee\n; > CommunityCreditsPage::show @ 0x637512\n; > CharacterColorPage::show @ 0x69caee\n; > GJPathsLayer::show @ 0x6d178e\n; > GJPathPage::show @ 0x6d1892\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:37 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x3cb218\nMOV             R4, R0                                                 ; +0x4, 0x3cb21c\nLDRB.W          R3, [R0,#0x1D4]                                        ; +0x6, 0x3cb21e\nCMP             R3, #0                                                 ; +0xa, 0x3cb222\nBNE             loc_3CB2D4                                             ; +0xc, 0x3cb224\nLDR             R3, [R0]                                               ; +0xe, 0x3cb226\nLDR.W           R3, [R3,#0x240]                                        ; +0x10, 0x3cb228\nBLX             R3                                                     ; +0x14, 0x3cb22c\nLDR             R1, =0x3DCCCCCD                                        ; +0x16, 0x3cb22e\nMOV             R7, R0                                                 ; +0x18, 0x3cb230\nLDR.W           R0, [R4,#0x1CC]                                        ; +0x1a, 0x3cb232\nLDR             R3, [R0]                                               ; +0x1e, 0x3cb236\nLDR             R3, [R3,#0x50]                                         ; +0x20, 0x3cb238\nBLX             R3                                                     ; +0x22, 0x3cb23a\nMOV.W           R1, #0x3F800000; float                                 ; +0x24, 0x3cb23c\nMOV.W           R0, #0x3F000000; this                                  ; +0x28, 0x3cb240\nBL              _ZN7cocos2d9CCScaleTo6createEff; cocos2d::CCScaleTo::create(float,float) ; +0x2c, 0x3cb244\nLDR             R1, =0x3F19999A; cocos2d::CCActionInterval *           ; +0x30, 0x3cb248\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x32, 0x3cb24a\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x36, 0x3cb24e\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x38, 0x3cb250\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x3c, 0x3cb254\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x40, 0x3cb258\nLDR.W           R5, [R4,#0x1C4]                                        ; +0x44, 0x3cb25c\nLDR.W           R6, [R0,#0xDC]                                         ; +0x48, 0x3cb260\nCBNZ            R5, loc_3CB282                                         ; +0x4c, 0x3cb264\nMOV             R0, R6; this                                           ; +0x4e, 0x3cb266\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x50, 0x3cb268\nCMP             R0, #0x68 ; 'h'                                        ; +0x54, 0x3cb26c\nBLE             loc_3CB27A                                             ; +0x56, 0x3cb26e\nMOV             R0, R6; this                                           ; +0x58, 0x3cb270\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x5a, 0x3cb272\nADDS            R0, #1                                                 ; +0x5e, 0x3cb276\nB               loc_3CB27C                                             ; +0x60, 0x3cb278\nMOVS            R0, #0x69 ; 'i'                                        ; +0x62, 0x3cb27a\nMOV             R5, R6                                                 ; +0x64, 0x3cb27c\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x66, 0x3cb27e\nLDR.W           R3, [R4,#0x1D0]                                        ; +0x6a, 0x3cb282\nCBNZ            R3, loc_3CB2A6                                         ; +0x6e, 0x3cb286\nLDR.W           R0, [R4,#0x1C4]                                        ; +0x70, 0x3cb288\nBL              _ZN11GameToolbox13highestChildZEPN7cocos2d6CCNodeE; GameToolbox::highestChildZ(cocos2d::CCNode *) ; +0x74, 0x3cb28c\nCMP             R0, #0x68 ; 'h'                                        ; +0x78, 0x3cb290\nBLE             loc_3CB2A0                                             ; +0x7a, 0x3cb292\nLDR.W           R0, [R4,#0x1C4]                                        ; +0x7c, 0x3cb294\nBL              _ZN11GameToolbox13highestChildZEPN7cocos2d6CCNodeE; GameToolbox::highestChildZ(cocos2d::CCNode *) ; +0x80, 0x3cb298\nADDS            R0, #1                                                 ; +0x84, 0x3cb29c\nB               loc_3CB2A2                                             ; +0x86, 0x3cb29e\nMOVS            R0, #0x69 ; 'i'                                        ; +0x88, 0x3cb2a0\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x8a, 0x3cb2a2\nLDR             R3, [R5]                                               ; +0x8e, 0x3cb2a6\nMOV             R0, R5                                                 ; +0x90, 0x3cb2a8\nLDR.W           R2, [R4,#0x1D0]                                        ; +0x92, 0x3cb2aa\nMOV             R1, R4                                                 ; +0x96, 0x3cb2ae\nLDR.W           R3, [R3,#0xE8]                                         ; +0x98, 0x3cb2b0\nBLX             R3                                                     ; +0x9c, 0x3cb2b4\nLDR             R3, [R4]                                               ; +0x9e, 0x3cb2b6\nMOV             R0, R4                                                 ; +0xa0, 0x3cb2b8\nMOVS            R1, #0                                                 ; +0xa2, 0x3cb2ba\nLDR.W           R3, [R3,#0x248]                                        ; +0xa4, 0x3cb2bc\nBLX             R3                                                     ; +0xa8, 0x3cb2c0\nMOV             R1, R7; float                                          ; +0xaa, 0x3cb2c2\nLDR             R0, =0x3E0F5C29; this                                  ; +0xac, 0x3cb2c4\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xae, 0x3cb2c6\nMOV             R1, R0; cocos2d::CCAction *                            ; +0xb2, 0x3cb2ca\nMOV             R0, R4; this                                           ; +0xb4, 0x3cb2cc\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb6, 0x3cb2ce\nB               loc_3CB332                                             ; +0xba, 0x3cb2d2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xbc, 0x3cb2d4\nLDR.W           R5, [R4,#0x1C4]                                        ; +0xc0, 0x3cb2d8\nLDR.W           R6, [R0,#0xDC]                                         ; +0xc4, 0x3cb2dc\nCBNZ            R5, loc_3CB2FE                                         ; +0xc8, 0x3cb2e0\nMOV             R0, R6; this                                           ; +0xca, 0x3cb2e2\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0xcc, 0x3cb2e4\nCMP             R0, #0x68 ; 'h'                                        ; +0xd0, 0x3cb2e8\nBLE             loc_3CB2F6                                             ; +0xd2, 0x3cb2ea\nMOV             R0, R6; this                                           ; +0xd4, 0x3cb2ec\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0xd6, 0x3cb2ee\nADDS            R0, #1                                                 ; +0xda, 0x3cb2f2\nB               loc_3CB2F8                                             ; +0xdc, 0x3cb2f4\nMOVS            R0, #0x69 ; 'i'                                        ; +0xde, 0x3cb2f6\nMOV             R5, R6                                                 ; +0xe0, 0x3cb2f8\nSTR.W           R0, [R4,#0x1D0]                                        ; +0xe2, 0x3cb2fa\nLDR.W           R3, [R4,#0x1D0]                                        ; +0xe6, 0x3cb2fe\nCBNZ            R3, loc_3CB322                                         ; +0xea, 0x3cb302\nLDR.W           R0, [R4,#0x1C4]                                        ; +0xec, 0x3cb304\nBL              _ZN11GameToolbox13highestChildZEPN7cocos2d6CCNodeE; GameToolbox::highestChildZ(cocos2d::CCNode *) ; +0xf0, 0x3cb308\nCMP             R0, #0x68 ; 'h'                                        ; +0xf4, 0x3cb30c\nBLE             loc_3CB31C                                             ; +0xf6, 0x3cb30e\nLDR.W           R0, [R4,#0x1C4]                                        ; +0xf8, 0x3cb310\nBL              _ZN11GameToolbox13highestChildZEPN7cocos2d6CCNodeE; GameToolbox::highestChildZ(cocos2d::CCNode *) ; +0xfc, 0x3cb314\nADDS            R0, #1                                                 ; +0x100, 0x3cb318\nB               loc_3CB31E                                             ; +0x102, 0x3cb31a\nMOVS            R0, #0x69 ; 'i'                                        ; +0x104, 0x3cb31c\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x106, 0x3cb31e\nLDR             R3, [R5]                                               ; +0x10a, 0x3cb322\nMOV             R0, R5                                                 ; +0x10c, 0x3cb324\nMOV             R1, R4                                                 ; +0x10e, 0x3cb326\nLDR.W           R2, [R4,#0x1D0]                                        ; +0x110, 0x3cb328\nLDR.W           R3, [R3,#0xE8]                                         ; +0x114, 0x3cb32c\nBLX             R3                                                     ; +0x118, 0x3cb330\nLDR             R3, [R4]                                               ; +0x11a, 0x3cb332\nMOV             R0, R4                                                 ; +0x11c, 0x3cb334\nMOVS            R1, #1                                                 ; +0x11e, 0x3cb336\nPOP.W           {R4-R8,LR}                                             ; +0x120, 0x3cb338\nLDR.W           R3, [R3,#0xAC]                                         ; +0x124, 0x3cb33c\nBX              R3                                                     ; +0x128, 0x3cb340", "xrefs": ["TutorialPopup::show @ 0x41e740", "InfoLayer::show @ 0x53c9ea", "PromoInterstitial::show @ 0x5453da", "GJPromoPopup::show @ 0x5d4086", "ProfilePage::show @ 0x5f5a4e", "ChallengesPage::show @ 0x5ff44e", "DailyLevelPage::show @ 0x606dce", "LevelLeaderboard::show @ 0x61476a", "RewardsPage::show @ 0x616b06", "ShardsPage::show @ 0x62b316", "WorldLevelPage::show @ 0x62caea", "FollowRewardPage::show @ 0x62fac2", "TopArtistsLayer::show @ 0x6311ee", "CommunityCreditsPage::show @ 0x637512", "CharacterColorPage::show @ 0x69caee", "GJPathsLayer::show @ 0x6d178e", "GJPathPage::show @ 0x6d1892"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}