{"type": "func", "start": 5065584, "end": 5065644, "name": "DailyLevelNode::showSkipButton", "pseudocode": "// \n// DailyLevelNode::showSkipButton from 0x4d4b70 to 0x4d4bac (60 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::createDailyNode @ 0x4d4ce8\n// > DailyLevelPage::dailyStatusFinished @ 0x4d5adc\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; // r0\n  GJGameLevel *m_level; // r2\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(m_skipButton, 1);\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, int))a1->m_skipButton->__vftable[1].setScaleY)(a1->m_skipButton, 1);\n    }\n  }\n}", "assembly": "; \n; DailyLevelNode::showSkipButton from 0x4d4b70 to 0x4d4bac (60 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::createDailyNode @ 0x4d4ce8\n; > DailyLevelPage::dailyStatusFinished @ 0x4d5adc\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            {R4,LR}                                                ; +0x0, 0x4d4b70\nMOV             R4, R0                                                 ; +0x2, 0x4d4b72\nLDR.W           R0, [R0,#0x120]                                        ; +0x4, 0x4d4b74\nCBZ             R0, locret_4D4BAA                                      ; +0x8, 0x4d4b78\nLDR.W           R2, [R4,#0x10C]                                        ; +0xa, 0x4d4b7a\nCBZ             R2, loc_4D4B8E                                         ; +0xe, 0x4d4b7e\nLDR.W           R3, [R2,#0x1F8]                                        ; +0x10, 0x4d4b80\nLDR.W           R2, [R2,#0x1FC]                                        ; +0x14, 0x4d4b84\nSUBS            R3, R3, R2                                             ; +0x18, 0x4d4b88\nCMP             R3, #0x63 ; 'c'                                        ; +0x1a, 0x4d4b8a\nBGT             locret_4D4BAA                                          ; +0x1c, 0x4d4b8c\nLDR             R3, [R0]                                               ; +0x1e, 0x4d4b8e\nMOVS            R1, #1                                                 ; +0x20, 0x4d4b90\nLDR.W           R3, [R3,#0xA4]                                         ; +0x22, 0x4d4b92\nBLX             R3                                                     ; +0x26, 0x4d4b96\nLDR.W           R0, [R4,#0x120]                                        ; +0x28, 0x4d4b98\nMOVS            R1, #1                                                 ; +0x2c, 0x4d4b9c\nPOP.W           {R4,LR}                                                ; +0x2e, 0x4d4b9e\nLDR             R3, [R0]                                               ; +0x32, 0x4d4ba2\nLDR.W           R3, [R3,#0x274]                                        ; +0x34, 0x4d4ba4\nBX              R3                                                     ; +0x38, 0x4d4ba8\nPOP             {R4,PC}                                                ; +0x3a, 0x4d4baa", "xrefs": ["DailyLevelPage::createDailyNode @ 0x4d4ce8", "DailyLevelPage::dailyStatusFinished @ 0x4d5adc"], "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"}