// // InfoLayer::updateCommentModeButtons from 0x43011c to 0x43018a (110 bytes) // // 3 xrefs: // > InfoLayer::init @ 0x43104c // > InfoLayer::commentUploadFinished @ 0x431714 // > InfoLayer::toggleCommentMode @ 0x43175e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void InfoLayer::updateCommentModeButtons(InfoLayer *a1) { GameManager *v2; // r0 _BOOL4 GameVariable; // r4 ButtonSprite *v4; // r0 const char *v5; // r1 ButtonSprite *v6; // r0 const char *v7; // r1 v2 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v2, "0069"); v4 = (ButtonSprite *)a1->m_likeBtn->getNormalImage(a1->m_likeBtn); if ( GameVariable ) v5 = "GJ_button_02.png"; else v5 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v4, v5); v6 = (ButtonSprite *)a1->m_timeBtn->getNormalImage(a1->m_timeBtn); if ( GameVariable ) v7 = "GJ_button_01.png"; else v7 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v6, v7); a1->m_likeBtn->setEnabled(a1->m_likeBtn, !GameVariable); a1->m_timeBtn->setEnabled(a1->m_timeBtn, GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source