{"type": "func", "start": 4296778860, "end": 4296778968, "name": "DailyLevelNode::showSkipButton", "pseudocode": "// \n// DailyLevelNode::showSkipButton from 0x1001ba46c to 0x1001ba4d8 (108 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::createDailyNode @ 0x1001ba0bc\n// > DailyLevelPage::dailyStatusFinished @ 0x1001ba324\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 DailyLevelNode::showSkipButton(DailyLevelNode *a1)\n{\n  CCMenuItemSpriteExtra *m_skipButton; // x0\n  GJGameLevel *m_level; // x8\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 <= 99 )\n    {\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))m_skipButton->setVisible)(m_skipButton, 1);\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_skipButton->__vftable[1].setScaleY)(\n        a1->m_skipButton,\n        1);\n    }\n  }\n}", "assembly": "; \n; DailyLevelNode::showSkipButton from 0x1001ba46c to 0x1001ba4d8 (108 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::createDailyNode @ 0x1001ba0bc\n; > DailyLevelPage::dailyStatusFinished @ 0x1001ba324\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001ba46c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001ba470\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001ba474\nMOV             X19, X0                                                ; +0xc, 0x1001ba478\nLDR             X0, [X0,#0x168]                                        ; +0x10, 0x1001ba47c\nCBZ             X0, loc_1001BA4A0                                      ; +0x14, 0x1001ba480\nLDR             X8, [X19,#0x148]                                       ; +0x18, 0x1001ba484\nCBZ             X8, loc_1001BA4AC                                      ; +0x1c, 0x1001ba488\nLDR             W9, [X8,#0x2EC]                                        ; +0x20, 0x1001ba48c\nLDR             W8, [X8,#0x2F0]                                        ; +0x24, 0x1001ba490\nSUB             W8, W9, W8                                             ; +0x28, 0x1001ba494\nCMP             W8, #0x63 ; 'c'                                        ; +0x2c, 0x1001ba498\nB.LE            loc_1001BA4AC                                          ; +0x30, 0x1001ba49c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x1001ba4a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x1001ba4a4\nRET                                                                    ; +0x3c, 0x1001ba4a8\nLDR             X8, [X0]                                               ; +0x40, 0x1001ba4ac\nLDR             X8, [X8,#0x148]                                        ; +0x44, 0x1001ba4b0\nMOV             W1, #1                                                 ; +0x48, 0x1001ba4b4\nBLR             X8                                                     ; +0x4c, 0x1001ba4b8\nLDR             X0, [X19,#0x168]                                       ; +0x50, 0x1001ba4bc\nLDR             X8, [X0]                                               ; +0x54, 0x1001ba4c0\nLDR             X2, [X8,#0x4E8]                                        ; +0x58, 0x1001ba4c4\nMOV             W1, #1                                                 ; +0x5c, 0x1001ba4c8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1001ba4cc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1001ba4d0\nBR              X2                                                     ; +0x68, 0x1001ba4d4", "xrefs": ["DailyLevelPage::createDailyNode @ 0x1001ba0bc", "DailyLevelPage::dailyStatusFinished @ 0x1001ba324"], "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"}