{"type": "func", "start": 4297157472, "end": 4297157713, "name": "DailyLevelPage::skipDailyLevel", "pseudocode": "// \n// DailyLevelPage::skipDailyLevel from 0x100216b60 to 0x100216c51 (241 bytes)\n// \n// 2 xrefs:\n// > DailyLevelNode::FLAlert_Clicked @ 0x100217c91\n// > sub_100217CA0 @ 0x100217cbc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:27:00 +0000\n// \n\n__int64 __fastcall DailyLevelPage::skipDailyLevel(__int64 a1, __int64 a2, __int64 a3, double a4)\n{\n  int v4; // r15d\n  __int64 v5; // rax\n  __int64 result; // rax\n  __int64 v7; // rax\n  int ActiveDailyID; // r15d\n  __int64 v9; // rax\n  __int64 v10; // rax\n  int v11; // r14d\n  int v12; // eax\n  int v13; // ecx\n  int v14; // r8d\n  int v15; // r9d\n  __int64 v16; // rax\n\n  if ( *(_QWORD *)(a1 + 720) == a2 )\n  {\n    v4 = *(_DWORD *)(a3 + 920) - *(_DWORD *)(a3 + 924);\n    v5 = GameLevelManager::sharedState(a4);\n    result = GameLevelManager::getActiveDailyID(v5, *(unsigned int *)(a1 + 732));\n    if ( v4 == (_DWORD)result )\n    {\n      v7 = GameLevelManager::sharedState(a4);\n      ActiveDailyID = GameLevelManager::getActiveDailyID(v7, *(unsigned int *)(a1 + 732));\n      v9 = GameLevelManager::sharedState(a4);\n      result = GameLevelManager::getDailyID(v9, *(unsigned int *)(a1 + 732));\n      if ( ActiveDailyID < (int)result )\n      {\n        DailyLevelPage::exitDailyNode(a1, a2, 0.0);\n        *(_BYTE *)(a1 + 728) = 1;\n        v10 = GameLevelManager::sharedState(0.0);\n        GameLevelManager::downloadLevel(v10, *(unsigned int *)(a1 + 736), 0, 0);\n        v11 = cocos2d::CCDelayTime::create(0.5);\n        v12 = cocos2d::CCCallFunc::create(a1, DailyLevelPage::createNodeIfLoaded, 0);\n        v16 = sub_10039EB60(v11, v12, 0, v13, v14, v15);\n        return cocos2d::CCNode::runAction(a1, v16);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; DailyLevelPage::skipDailyLevel from 0x100216b60 to 0x100216c51 (241 bytes)\n; \n; 2 xrefs:\n; > DailyLevelNode::FLAlert_Clicked @ 0x100217c91\n; > sub_100217CA0 @ 0x100217cbc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:27:00 +0000\n; \npush    rbp                                                            ; +0x0, 0x100216b60\nmov     rbp, rsp                                                       ; +0x1, 0x100216b61\npush    r15                                                            ; +0x4, 0x100216b64\npush    r14                                                            ; +0x6, 0x100216b66\npush    rbx                                                            ; +0x8, 0x100216b68\npush    rax                                                            ; +0x9, 0x100216b69\ncmp     [rdi+2D0h], rsi                                                ; +0xa, 0x100216b6a\njnz     loc_100216C46                                                  ; +0x11, 0x100216b71\nmov     r14, rsi                                                       ; +0x17, 0x100216b77\nmov     rbx, rdi                                                       ; +0x1a, 0x100216b7a\nmov     r15d, [rdx+398h]                                               ; +0x1d, 0x100216b7d\nsub     r15d, [rdx+39Ch]                                               ; +0x24, 0x100216b84\ncall    GameLevelManager__sharedState                                  ; +0x2b, 0x100216b8b\nmov     esi, [rbx+2DCh]                                                ; +0x30, 0x100216b90\nmov     rdi, rax                                                       ; +0x36, 0x100216b96\ncall    GameLevelManager__getActiveDailyID                             ; +0x39, 0x100216b99\ncmp     r15d, eax                                                      ; +0x3e, 0x100216b9e\njnz     loc_100216C46                                                  ; +0x41, 0x100216ba1\ncall    GameLevelManager__sharedState                                  ; +0x47, 0x100216ba7\nmov     esi, [rbx+2DCh]                                                ; +0x4c, 0x100216bac\nmov     rdi, rax                                                       ; +0x52, 0x100216bb2\ncall    GameLevelManager__getActiveDailyID                             ; +0x55, 0x100216bb5\nmov     r15d, eax                                                      ; +0x5a, 0x100216bba\ncall    GameLevelManager__sharedState                                  ; +0x5d, 0x100216bbd\nmov     esi, [rbx+2DCh]                                                ; +0x62, 0x100216bc2\nmov     rdi, rax                                                       ; +0x68, 0x100216bc8\ncall    GameLevelManager__getDailyID                                   ; +0x6b, 0x100216bcb\ncmp     r15d, eax                                                      ; +0x70, 0x100216bd0\njge     short loc_100216C46                                            ; +0x73, 0x100216bd3\nxorps   xmm0, xmm0                                                     ; +0x75, 0x100216bd5\nmov     rdi, rbx                                                       ; +0x78, 0x100216bd8\nmov     rsi, r14                                                       ; +0x7b, 0x100216bdb\ncall    DailyLevelPage__exitDailyNode                                  ; +0x7e, 0x100216bde\nmov     byte ptr [rbx+2D8h], 1                                         ; +0x83, 0x100216be3\ncall    GameLevelManager__sharedState                                  ; +0x8a, 0x100216bea\nmov     esi, [rbx+2E0h]                                                ; +0x8f, 0x100216bef\nmov     rdi, rax                                                       ; +0x95, 0x100216bf5\nxor     edx, edx                                                       ; +0x98, 0x100216bf8\nxor     ecx, ecx                                                       ; +0x9a, 0x100216bfa\ncall    GameLevelManager__downloadLevel                                ; +0x9c, 0x100216bfc\nmovss   xmm0, cs:dword_100A03578                                       ; +0xa1, 0x100216c01\ncall    cocos2d__CCDelayTime__create                                   ; +0xa9, 0x100216c09\nmov     r14, rax                                                       ; +0xae, 0x100216c0e\nlea     rsi, DailyLevelPage__createNodeIfLoaded                        ; +0xb1, 0x100216c11\nmov     rdi, rbx                                                       ; +0xb8, 0x100216c18\nxor     edx, edx                                                       ; +0xbb, 0x100216c1b\ncall    cocos2d__CCCallFunc__create                                    ; +0xbd, 0x100216c1d\nmov     rdi, r14                                                       ; +0xc2, 0x100216c22\nmov     rsi, rax                                                       ; +0xc5, 0x100216c25\nxor     edx, edx                                                       ; +0xc8, 0x100216c28\nxor     eax, eax                                                       ; +0xca, 0x100216c2a\ncall    sub_10039EB60                                                  ; +0xcc, 0x100216c2c\nmov     rdi, rbx                                                       ; +0xd1, 0x100216c31\nmov     rsi, rax                                                       ; +0xd4, 0x100216c34\nadd     rsp, 8                                                         ; +0xd7, 0x100216c37\npop     rbx                                                            ; +0xdb, 0x100216c3b\npop     r14                                                            ; +0xdc, 0x100216c3c\npop     r15                                                            ; +0xde, 0x100216c3e\npop     rbp                                                            ; +0xe0, 0x100216c40\njmp     cocos2d__CCNode__runAction                                     ; +0xe1, 0x100216c41\nadd     rsp, 8                                                         ; +0xe6, 0x100216c46\npop     rbx                                                            ; +0xea, 0x100216c4a\npop     r14                                                            ; +0xeb, 0x100216c4b\npop     r15                                                            ; +0xed, 0x100216c4d\npop     rbp                                                            ; +0xef, 0x100216c4f\nretn                                                                   ; +0xf0, 0x100216c50", "xrefs": ["DailyLevelNode::FLAlert_Clicked @ 0x100217c91", "sub_100217CA0 @ 0x100217cbc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}