// // GJAccountSettingsLayer::onMessageSetting from 0x4a7a84 to 0x4a7ad4 (80 bytes) // // 1 xrefs: // > GJAccountSettingsLayer::init @ 0x4b661a // // 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; // r3 cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r5 cocos2d::CCObject **v6; // r4 CCMenuItemToggler *v7; // r6 CCMenuItemToggler *v8; // t1 int v9; // r1 if ( a2 ) a1->m_messageStatus = a2->getTag(a2); m_messageSettings = a1->m_messageSettings; if ( m_messageSettings ) { data = m_messageSettings->data; if ( data->num ) { arr = data->arr; v6 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v6 ) { v8 = (CCMenuItemToggler *)*arr++; v7 = v8; if ( !v8 ) break; v9 = v7->getTag(v7) - a1->m_messageStatus; CCMenuItemToggler::toggle(v7, v9 != 0); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source