{"type": "func", "start": 6319540, "end": 6319784, "name": "DailyLevelPage::show", "pseudocode": "// \n// DailyLevelPage::show from 0x606db4 to 0x606ea8 (244 bytes)\n// \n// 0 xrefs:\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:54:45 +0000\n// \n\nint __fastcall DailyLevelPage::show(GameToolbox **this)\n{\n  float v3; // r8\n  const cocos2d::CCPoint *v4; // r0\n  int v5; // r9\n  void (__fastcall *v6)(int, _BYTE *); // r10\n  const cocos2d::CCPoint *v7; // r2\n  cocos2d::CCEaseElasticOut *v8; // r0\n  float v9; // r2\n  cocos2d::CCAction *v10; // r0\n  cocos2d::CCDirector *v11; // r0\n  cocos2d::CCScene *v12; // r6\n  cocos2d::CCScene *v13; // r0\n  int v14; // r0\n  unsigned __int8 v15; // r2\n  cocos2d::CCAction *v16; // r0\n  _BYTE v17[4]; // [sp+4h] [bp-14h] BYREF\n  float v18; // [sp+8h] [bp-10h]\n  _BYTE v19[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  if ( *((_BYTE *)this + 468) )\n    return FLAlertLayer::show(this);\n  v3 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));\n  v4 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 115) + 96))(*(this + 115));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v4);\n  v5 = (int)*(this + 115);\n  v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, -160.0, v18);\n  v6(v5, v19);\n  v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v17), v7);\n  v10 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3F19999A, v9);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v10);\n  v12 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v11) + 220);\n  v13 = *(this + 113);\n  if ( !v13 )\n  {\n    if ( (int)cocos2d::CCScene::getHighestChildZ(v12) <= 104 )\n      v14 = 105;\n    else\n      v14 = cocos2d::CCScene::getHighestChildZ(v12) + 1;\n    *(this + 116) = (GameToolbox *)v14;\n    v13 = v12;\n  }\n  if ( !*(this + 116) )\n    *(this + 116) = (GameToolbox *)(&dword_68 + 1);\n  (*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v13 + 232))(v13, this, *(this + 116));\n  (*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);\n  v16 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v3, v15);\n  cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v16);\n  return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);\n}", "assembly": "; \n; DailyLevelPage::show from 0x606db4 to 0x606ea8 (244 bytes)\n; \n; 0 xrefs:\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:54:45 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x606DBE)                ; +0x0, 0x606db4\nPUSH.W          {R4-R10,LR}                                            ; +0x2, 0x606db6\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x606dba\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x606dbc\nSUB             SP, SP, #0x18                                          ; +0xa, 0x606dbe\nMOV             R4, R0                                                 ; +0xc, 0x606dc0\nLDR             R2, [R3]                                               ; +0xe, 0x606dc2\nMOV             R5, R3                                                 ; +0x10, 0x606dc4\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x12, 0x606dc6\nLDRB.W          R2, [R0,#0x1D4]                                        ; +0x14, 0x606dc8\nCBZ             R2, loc_606DD4                                         ; +0x18, 0x606dcc\nBL              _ZN12FLAlertLayer4showEv; FLAlertLayer::show(void)     ; +0x1a, 0x606dce\nB               loc_606E96                                             ; +0x1e, 0x606dd2\nLDR             R3, [R0]                                               ; +0x20, 0x606dd4\nADD             R6, SP, #0x18+var_14                                   ; +0x22, 0x606dd6\nADD             R7, SP, #0x18+var_C                                    ; +0x24, 0x606dd8\nLDR.W           R3, [R3,#0x240]                                        ; +0x26, 0x606dda\nBLX             R3                                                     ; +0x2a, 0x606dde\nMOV             R8, R0                                                 ; +0x2c, 0x606de0\nLDR.W           R0, [R4,#0x1CC]                                        ; +0x2e, 0x606de2\nLDR             R3, [R0]                                               ; +0x32, 0x606de6\nLDR             R3, [R3,#0x60]                                         ; +0x34, 0x606de8\nBLX             R3                                                     ; +0x36, 0x606dea\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x38, 0x606dec\nMOV             R0, R6; this                                           ; +0x3a, 0x606dee\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3c, 0x606df0\nLDR.W           R9, [R4,#0x1CC]                                        ; +0x40, 0x606df4\nLDR             R2, [SP,#0x18+var_10]; float                           ; +0x44, 0x606df8\nMOV             R0, R7; this                                           ; +0x46, 0x606dfa\nLDR             R1, flt_606EA8; float                                  ; +0x48, 0x606dfc\nLDR.W           R3, [R9]                                               ; +0x4a, 0x606dfe\nLDR.W           R10, [R3,#0x5C]                                        ; +0x4e, 0x606e02\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x52, 0x606e06\nMOV             R0, R9                                                 ; +0x56, 0x606e0a\nMOV             R1, R7                                                 ; +0x58, 0x606e0c\nBLX             R10                                                    ; +0x5a, 0x606e0e\nMOV             R1, R6; float                                          ; +0x5c, 0x606e10\nMOV.W           R0, #0x3F000000; this                                  ; +0x5e, 0x606e12\nBL              _ZN7cocos2d8CCMoveTo6createEfRKNS_7CCPointE; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const&) ; +0x62, 0x606e16\nLDR             R1, =0x3F19999A; cocos2d::CCActionInterval *           ; +0x66, 0x606e1a\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x68, 0x606e1c\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x6c, 0x606e20\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x6e, 0x606e22\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x72, 0x606e26\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x76, 0x606e2a\nLDR.W           R6, [R0,#0xDC]                                         ; +0x7a, 0x606e2e\nLDR.W           R0, [R4,#0x1C4]                                        ; +0x7e, 0x606e32\nCBNZ            R0, loc_606E54                                         ; +0x82, 0x606e36\nMOV             R0, R6; this                                           ; +0x84, 0x606e38\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x86, 0x606e3a\nCMP             R0, #0x68 ; 'h'                                        ; +0x8a, 0x606e3e\nBLE             loc_606E4C                                             ; +0x8c, 0x606e40\nMOV             R0, R6; this                                           ; +0x8e, 0x606e42\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x90, 0x606e44\nADDS            R0, #1                                                 ; +0x94, 0x606e48\nB               loc_606E4E                                             ; +0x96, 0x606e4a\nMOVS            R0, #0x69 ; 'i'                                        ; +0x98, 0x606e4c\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x9a, 0x606e4e\nMOV             R0, R6                                                 ; +0x9e, 0x606e52\nLDR.W           R3, [R4,#0x1D0]                                        ; +0xa0, 0x606e54\nCBNZ            R3, loc_606E60                                         ; +0xa4, 0x606e58\nMOVS            R3, #0x69 ; 'i'                                        ; +0xa6, 0x606e5a\nSTR.W           R3, [R4,#0x1D0]                                        ; +0xa8, 0x606e5c\nLDR             R3, [R0]                                               ; +0xac, 0x606e60\nMOV             R1, R4                                                 ; +0xae, 0x606e62\nLDR.W           R2, [R4,#0x1D0]                                        ; +0xb0, 0x606e64\nLDR.W           R3, [R3,#0xE8]                                         ; +0xb4, 0x606e68\nBLX             R3                                                     ; +0xb8, 0x606e6c\nLDR             R3, [R4]                                               ; +0xba, 0x606e6e\nMOV             R0, R4                                                 ; +0xbc, 0x606e70\nMOVS            R1, #0                                                 ; +0xbe, 0x606e72\nLDR.W           R3, [R3,#0x248]                                        ; +0xc0, 0x606e74\nBLX             R3                                                     ; +0xc4, 0x606e78\nMOV             R1, R8; float                                          ; +0xc6, 0x606e7a\nLDR             R0, =0x3E0F5C29; this                                  ; +0xc8, 0x606e7c\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xca, 0x606e7e\nMOV             R1, R0; cocos2d::CCAction *                            ; +0xce, 0x606e82\nMOV             R0, R4; this                                           ; +0xd0, 0x606e84\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd2, 0x606e86\nLDR             R3, [R4]                                               ; +0xd6, 0x606e8a\nMOV             R0, R4                                                 ; +0xd8, 0x606e8c\nMOVS            R1, #1                                                 ; +0xda, 0x606e8e\nLDR.W           R3, [R3,#0xAC]                                         ; +0xdc, 0x606e90\nBLX             R3                                                     ; +0xe0, 0x606e94\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xe2, 0x606e96\nLDR             R3, [R5]                                               ; +0xe4, 0x606e98\nCMP             R2, R3                                                 ; +0xe6, 0x606e9a\nBEQ             loc_606EA2                                             ; +0xe8, 0x606e9c\nBLX             __stack_chk_fail                                       ; +0xea, 0x606e9e\nADD             SP, SP, #0x18                                          ; +0xee, 0x606ea2\nPOP.W           {R4-R10,PC}                                            ; +0xf0, 0x606ea4", "xrefs": [], "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"}