{"type": "func", "start": 9520420, "end": 9520540, "name": "DailyLevelNode::showSkipButton", "pseudocode": "// \n// DailyLevelNode::showSkipButton from 0x914524 to 0x91459c (120 bytes)\n// \n// 3 xrefs:\n// > DailyLevelPage::createDailyNode @ 0x9146c0\n// > DailyLevelPage::dailyStatusFinished @ 0x915df8\n// > <???> @ 0x38928\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; // x2\n  GJGameLevel *m_level; // x1\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      m_skipButton->setVisible(a1->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 0x914524 to 0x91459c (120 bytes)\n; \n; 3 xrefs:\n; > DailyLevelPage::createDailyNode @ 0x9146c0\n; > DailyLevelPage::dailyStatusFinished @ 0x915df8\n; > <???> @ 0x38928\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x914524\nMOV             X29, SP                                                ; +0x4, 0x914528\nLDR             X2, [X0,#0x168]                                        ; +0x8, 0x91452c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x914530\nCBZ             X2, loc_914554                                         ; +0x10, 0x914534\nLDR             X1, [X0,#0x148]                                        ; +0x14, 0x914538\nCBZ             X1, loc_914560                                         ; +0x18, 0x91453c\nLDR             W3, [X1,#0x25C]                                        ; +0x1c, 0x914540\nLDR             W1, [X1,#0x260]                                        ; +0x20, 0x914544\nSUB             W1, W3, W1                                             ; +0x24, 0x914548\nCMP             W1, #0x63 ; 'c'                                        ; +0x28, 0x91454c\nB.LE            loc_914560                                             ; +0x2c, 0x914550\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x30, 0x914554\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x34, 0x914558\nRET                                                                    ; +0x38, 0x91455c\nLDR             X3, [X2]                                               ; +0x3c, 0x914560\nMOV             X19, X0                                                ; +0x40, 0x914564\nMOV             X0, X2                                                 ; +0x44, 0x914568\nMOV             W1, #1                                                 ; +0x48, 0x91456c\nLDR             X2, [X3,#0x148]                                        ; +0x4c, 0x914570\nBLR             X2                                                     ; +0x50, 0x914574\nLDR             X2, [X19,#0x168]                                       ; +0x54, 0x914578\nMOV             W1, #1                                                 ; +0x58, 0x91457c\nMOV             X0, X2                                                 ; +0x5c, 0x914580\nLDR             X2, [X2]                                               ; +0x60, 0x914584\nLDR             X2, [X2,#0x4E8]                                        ; +0x64, 0x914588\nBLR             X2                                                     ; +0x68, 0x91458c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x6c, 0x914590\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x70, 0x914594\nRET                                                                    ; +0x74, 0x914598", "xrefs": ["DailyLevelPage::createDailyNode @ 0x9146c0", "DailyLevelPage::dailyStatusFinished @ 0x915df8", "<???> @ 0x38928"], "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"}