{"type": "func", "start": 4297270544, "end": 4297270785, "name": "DailyLevelPage::skipDailyLevel", "pseudocode": "// \n// DailyLevelPage::skipDailyLevel from 0x100232510 to 0x100232601 (241 bytes)\n// \n// 2 xrefs:\n// > DailyLevelNode::FLAlert_Clicked @ 0x100233641\n// > sub_100233650 @ 0x10023366c\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 DailyLevelPage::skipDailyLevel(DailyLevelPage *a1, DailyLevelNode *a2, GJGameLevel *a3)\n{\n  int v3; // r15d\n  GameLevelManager *v4; // rax\n  GameLevelManager *v5; // rax\n  int ActiveDailyID; // r15d\n  GameLevelManager *v7; // rax\n  GameLevelManager *v8; // rax\n  unsigned int v9; // r14d\n  unsigned int v10; // eax\n  int v11; // ecx\n  int v12; // r8d\n  int v13; // r9d\n  cocos2d::CCAction *v14; // rax\n\n  if ( a1->m_dailyNode == a2 )\n  {\n    v3 = a3->m_dailyID.random - a3->m_dailyID.seed;\n    v4 = GameLevelManager::sharedState();\n    if ( v3 == GameLevelManager::getActiveDailyID(v4, a1->m_type) )\n    {\n      v5 = GameLevelManager::sharedState();\n      ActiveDailyID = GameLevelManager::getActiveDailyID(v5, a1->m_type);\n      v7 = GameLevelManager::sharedState();\n      if ( ActiveDailyID < GameLevelManager::getDailyID(v7, a1->m_type) )\n      {\n        DailyLevelPage::exitDailyNode(a1, a2, 0.0);\n        a1->m_downloadStarted = 1;\n        v8 = GameLevelManager::sharedState();\n        GameLevelManager::downloadLevel(v8, a1->m_downloadLevelID, 0, 0);\n        v9 = (unsigned int)cocos2d::CCDelayTime::create(0.5);\n        v10 = (unsigned int)cocos2d::CCCallFunc::create(\n                              a1,\n                              (cocos2d::SEL_CallFunc)(unsigned __int64)DailyLevelPage::createNodeIfLoaded);\n        v14 = (cocos2d::CCAction *)sub_1003B5760(v9, v10, 0, v11, v12, v13);\n        cocos2d::CCNode::runAction(a1, v14);\n      }\n    }\n  }\n}", "assembly": "; \n; DailyLevelPage::skipDailyLevel from 0x100232510 to 0x100232601 (241 bytes)\n; \n; 2 xrefs:\n; > DailyLevelNode::FLAlert_Clicked @ 0x100233641\n; > sub_100233650 @ 0x10023366c\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, 0x100232510\nmov     rbp, rsp                                                       ; +0x1, 0x100232511\npush    r15                                                            ; +0x4, 0x100232514\npush    r14                                                            ; +0x6, 0x100232516\npush    rbx                                                            ; +0x8, 0x100232518\npush    rax                                                            ; +0x9, 0x100232519\ncmp     [rdi+2B0h], rsi                                                ; +0xa, 0x10023251a\njnz     loc_1002325F6                                                  ; +0x11, 0x100232521\nmov     r14, rsi                                                       ; +0x17, 0x100232527\nmov     rbx, rdi                                                       ; +0x1a, 0x10023252a\nmov     r15d, [rdx+324h]                                               ; +0x1d, 0x10023252d\nsub     r15d, [rdx+328h]                                               ; +0x24, 0x100232534\ncall    GameLevelManager__sharedState                                  ; +0x2b, 0x10023253b\nmov     esi, [rbx+2BCh]                                                ; +0x30, 0x100232540\nmov     rdi, rax                                                       ; +0x36, 0x100232546\ncall    GameLevelManager__getActiveDailyID                             ; +0x39, 0x100232549\ncmp     r15d, eax                                                      ; +0x3e, 0x10023254e\njnz     loc_1002325F6                                                  ; +0x41, 0x100232551\ncall    GameLevelManager__sharedState                                  ; +0x47, 0x100232557\nmov     esi, [rbx+2BCh]                                                ; +0x4c, 0x10023255c\nmov     rdi, rax                                                       ; +0x52, 0x100232562\ncall    GameLevelManager__getActiveDailyID                             ; +0x55, 0x100232565\nmov     r15d, eax                                                      ; +0x5a, 0x10023256a\ncall    GameLevelManager__sharedState                                  ; +0x5d, 0x10023256d\nmov     esi, [rbx+2BCh]                                                ; +0x62, 0x100232572\nmov     rdi, rax                                                       ; +0x68, 0x100232578\ncall    GameLevelManager__getDailyID                                   ; +0x6b, 0x10023257b\ncmp     r15d, eax                                                      ; +0x70, 0x100232580\njge     short loc_1002325F6                                            ; +0x73, 0x100232583\nxorps   xmm0, xmm0                                                     ; +0x75, 0x100232585\nmov     rdi, rbx                                                       ; +0x78, 0x100232588\nmov     rsi, r14                                                       ; +0x7b, 0x10023258b\ncall    DailyLevelPage__exitDailyNode                                  ; +0x7e, 0x10023258e\nmov     byte ptr [rbx+2B8h], 1                                         ; +0x83, 0x100232593\ncall    GameLevelManager__sharedState                                  ; +0x8a, 0x10023259a\nmov     esi, [rbx+2C0h]                                                ; +0x8f, 0x10023259f\nmov     rdi, rax                                                       ; +0x95, 0x1002325a5\nxor     edx, edx                                                       ; +0x98, 0x1002325a8\nxor     ecx, ecx                                                       ; +0x9a, 0x1002325aa\ncall    GameLevelManager__downloadLevel                                ; +0x9c, 0x1002325ac\nmovss   xmm0, cs:dword_100814FA8                                       ; +0xa1, 0x1002325b1\ncall    cocos2d__CCDelayTime__create                                   ; +0xa9, 0x1002325b9\nmov     r14, rax                                                       ; +0xae, 0x1002325be\nlea     rsi, DailyLevelPage__createNodeIfLoaded                        ; +0xb1, 0x1002325c1\nmov     rdi, rbx                                                       ; +0xb8, 0x1002325c8\nxor     edx, edx                                                       ; +0xbb, 0x1002325cb\ncall    cocos2d__CCCallFunc__create                                    ; +0xbd, 0x1002325cd\nmov     rdi, r14                                                       ; +0xc2, 0x1002325d2\nmov     rsi, rax                                                       ; +0xc5, 0x1002325d5\nxor     edx, edx                                                       ; +0xc8, 0x1002325d8\nxor     eax, eax                                                       ; +0xca, 0x1002325da\ncall    sub_1003B5760                                                  ; +0xcc, 0x1002325dc\nmov     rdi, rbx                                                       ; +0xd1, 0x1002325e1\nmov     rsi, rax                                                       ; +0xd4, 0x1002325e4\nadd     rsp, 8                                                         ; +0xd7, 0x1002325e7\npop     rbx                                                            ; +0xdb, 0x1002325eb\npop     r14                                                            ; +0xdc, 0x1002325ec\npop     r15                                                            ; +0xde, 0x1002325ee\npop     rbp                                                            ; +0xe0, 0x1002325f0\njmp     cocos2d__CCNode__runAction                                     ; +0xe1, 0x1002325f1\nadd     rsp, 8                                                         ; +0xe6, 0x1002325f6\npop     rbx                                                            ; +0xea, 0x1002325fa\npop     r14                                                            ; +0xeb, 0x1002325fb\npop     r15                                                            ; +0xed, 0x1002325fd\npop     rbp                                                            ; +0xef, 0x1002325ff\nretn                                                                   ; +0xf0, 0x100232600", "xrefs": ["DailyLevelNode::FLAlert_Clicked @ 0x100233641", "sub_100233650 @ 0x10023366c"], "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"}