{"type": "func", "start": 5369572800, "end": 5369572891, "name": "DailyLevelNode::showSkipButton", "pseudocode": "// \n// DailyLevelNode::showSkipButton from 0x1400d2dc0 to 0x1400d2e1b (91 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::dailyStatusFinished @ 0x1400cfc6d\n// > <???> @ 0x1406c85ec\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 DailyLevelNode::showSkipButton(DailyLevelNode *a1)\n{\n  CCMenuItemSpriteExtra *m_skipButton; // rcx\n  GJGameLevel *m_level; // rdx\n  __int64 v4; // rdx\n\n  m_skipButton = a1->m_skipButton;\n  if ( m_skipButton )\n  {\n    m_level = a1->m_level;\n    if ( !m_level || m_level->m_orbCompletion.random - m_level->m_orbCompletion.seed < 100 )\n    {\n      LOBYTE(m_level) = 1;\n      m_skipButton->setVisible(m_skipButton, (bool)m_level);\n      LOBYTE(v4) = 1;\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_skipButton->__vftable[1].update)(\n        a1->m_skipButton,\n        v4);\n    }\n  }\n}", "assembly": "; \n; DailyLevelNode::showSkipButton from 0x1400d2dc0 to 0x1400d2e1b (91 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::dailyStatusFinished @ 0x1400cfc6d\n; > <???> @ 0x1406c85ec\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    rbx                                                            ; +0x0, 0x1400d2dc0\nsub     rsp, 20h                                                       ; +0x2, 0x1400d2dc2\nmov     rbx, rcx                                                       ; +0x6, 0x1400d2dc6\nmov     rcx, [rcx+168h]                                                ; +0x9, 0x1400d2dc9\ntest    rcx, rcx                                                       ; +0x10, 0x1400d2dd0\njz      short loc_1400D2E15                                            ; +0x13, 0x1400d2dd3\nmov     rdx, [rbx+148h]                                                ; +0x15, 0x1400d2dd5\ntest    rdx, rdx                                                       ; +0x1c, 0x1400d2ddc\njz      short loc_1400D2DF2                                            ; +0x1f, 0x1400d2ddf\nmov     eax, [rdx+334h]                                                ; +0x21, 0x1400d2de1\nsub     eax, [rdx+338h]                                                ; +0x27, 0x1400d2de7\ncmp     eax, 64h ; 'd'                                                 ; +0x2d, 0x1400d2ded\njge     short loc_1400D2E15                                            ; +0x30, 0x1400d2df0\nmov     rax, [rcx]                                                     ; +0x32, 0x1400d2df2\nmov     dl, 1                                                          ; +0x35, 0x1400d2df5\ncall    qword ptr [rax+140h]                                           ; +0x37, 0x1400d2df7\nmov     rcx, [rbx+168h]                                                ; +0x3d, 0x1400d2dfd\nmov     dl, 1                                                          ; +0x44, 0x1400d2e04\nmov     rax, [rcx]                                                     ; +0x46, 0x1400d2e06\nadd     rsp, 20h                                                       ; +0x49, 0x1400d2e09\npop     rbx                                                            ; +0x4d, 0x1400d2e0d\njmp     qword ptr [rax+400h]                                           ; +0x4e, 0x1400d2e0e\nadd     rsp, 20h                                                       ; +0x55, 0x1400d2e15\npop     rbx                                                            ; +0x59, 0x1400d2e19\nretn                                                                   ; +0x5a, 0x1400d2e1a", "xrefs": ["DailyLevelPage::dailyStatusFinished @ 0x1400cfc6d", "<???> @ 0x1406c85ec"], "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"}