// // InfoLayer::updateCommentModeButtons from 0x100351e78 to 0x100351f1c (164 bytes) // // 3 xrefs: // > InfoLayer::init @ 0x100350dc0 // > InfoLayer::toggleCommentMode @ 0x100351db0 // > InfoLayer::commentUploadFinished @ 0x1003530e4 // // 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 *v2; // x0 _BOOL8 GameVariable; // x20 ButtonSprite *v4; // x0 const char *v5; // x1 const char *v6; // x21 ButtonSprite *v7; // x0 v2 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v2, "0069"); v4 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_likeBtn->getNormalImage)(a1->m_likeBtn); if ( GameVariable ) v5 = "GJ_button_02.png"; else v5 = "GJ_button_01.png"; if ( GameVariable ) v6 = "GJ_button_01.png"; else v6 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v4, v5); v7 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_timeBtn->getNormalImage)(a1->m_timeBtn); ButtonSprite::updateBGImage(v7, v6); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_likeBtn->setEnabled)( a1->m_likeBtn, (unsigned int)GameVariable ^ 1); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_timeBtn->setEnabled)(a1->m_timeBtn, GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source