// // ProfilePage::toggleMainPageVisibility from 0x8ff2b8 to 0x8ff3e0 (296 bytes) // // 1 xrefs: // > @ 0x2e6b0 // // 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 ProfilePage::toggleMainPageVisibility(ProfilePage *a1, bool a2) { cocos2d::CCArray *m_arrayWithUsernameLabel; // x0 _BOOL4 v4; // w20 cocos2d::ccArray *data; // x1 cocos2d::CCObject **arr; // x19 cocos2d::CCObject **v7; // x22 cocos2d::CCObject *v8; // x0 cocos2d::CCArray *m_buttons; // x0 cocos2d::ccArray *v10; // x1 cocos2d::CCObject **v11; // x19 cocos2d::CCObject **v12; // x22 cocos2d::CCObject *v13; // x0 GJCommentListLayer *m_list; // x0 m_arrayWithUsernameLabel = a1->m_arrayWithUsernameLabel; v4 = a2; if ( m_arrayWithUsernameLabel ) { data = m_arrayWithUsernameLabel->data; if ( data->num ) { arr = data->arr; v7 = &arr[data->num - 1]; while ( v7 >= arr ) { v8 = *arr; if ( !*arr ) break; ++arr; ((void (__fastcall *)(cocos2d::CCObject *, _BOOL4))v8->__vftable[4].~CCObject)(v8, v4); } } } m_buttons = a1->m_buttons; if ( m_buttons ) { v10 = m_buttons->data; if ( v10->num ) { v11 = v10->arr; v12 = &v11[v10->num - 1]; while ( v12 >= v11 ) { v13 = *v11; if ( !*v11 ) break; ++v11; ((void (__fastcall *)(cocos2d::CCObject *, _BOOL4))v13->__vftable[4].~CCObject)(v13, v4); } } } m_list = a1->m_list; if ( m_list ) m_list->setVisible(m_list, v4); if ( v4 ) { ProfilePage::updatePageArrows(a1); } else { a1->m_rightArrow->setVisible(a1->m_rightArrow, 0); a1->m_leftArrow->setVisible(a1->m_leftArrow, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source