// // GJAccountSettingsLayer::onMessageSetting from 0x8c2684 to 0x8c2724 (160 bytes) // // 6 xrefs: // > GJAccountSettingsLayer::init @ 0x8dfb88 // > @ 0x7e3c0 // > GJAccountSettingsLayer::init @ 0x8de8d4 // > GJAccountSettingsLayer::init @ 0x8de974 // > GJAccountSettingsLayer::init @ 0x8dea0c // > @ 0x122c418 // // 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 GJAccountSettingsLayer::onMessageSetting(GJAccountSettingsLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_messageSettings; // x0 cocos2d::ccArray *data; // x1 CCMenuItemToggler **arr; // x20 __int64 v6; // x0 char *v7; // x21 CCMenuItemToggler *v8; // x19 const cocos2d::CCObject *v9; // x0 bool v10; // w1 if ( a2 ) a1->m_messageStatus = a2->getTag(a2); m_messageSettings = a1->m_messageSettings; if ( m_messageSettings ) { data = m_messageSettings->data; if ( data->num ) { arr = (CCMenuItemToggler **)data->arr; v6 = 8LL * data->num - 8; v7 = (char *)arr + v6; if ( arr <= (CCMenuItemToggler **)((char *)arr + v6) ) { do { v8 = *arr; if ( !*arr ) break; v9 = *arr++; v10 = v8->getTag(v9) != a1->m_messageStatus; CCMenuItemToggler::toggle(v8, v10); } while ( v7 >= (char *)arr ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source