// // InfoLayer::updateCommentModeButtons from 0x1007b11d0 to 0x1007b127c (172 bytes) // // 0 xrefs: // // 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 __fastcall InfoLayer::updateCommentModeButtons(InfoLayer *a1) { GameManager *v1; // rax bool GameVariable; // r14 ButtonSprite *v3; // rax const char *v4; // r15 const char *v5; // rsi ButtonSprite *v6; // rax v1 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v1, "0069"); v3 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_likeBtn->getNormalImage)(a1->m_likeBtn); v4 = "GJ_button_02.png"; v5 = "GJ_button_01.png"; if ( GameVariable ) { v5 = "GJ_button_02.png"; v4 = "GJ_button_01.png"; } ButtonSprite::updateBGImage(v3, v5); v6 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_timeBtn->getNormalImage)(a1->m_timeBtn); ButtonSprite::updateBGImage(v6, v4); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_likeBtn->setEnabled)(a1->m_likeBtn, !GameVariable); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_timeBtn->setEnabled)(a1->m_timeBtn, GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source