// // GJAccountSettingsLayer::onFriendRequests from 0x4a7ad4 to 0x4a7b24 (80 bytes) // // 1 xrefs: // > GJAccountSettingsLayer::init @ 0x4b6622 // // 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::onFriendRequests(GJAccountSettingsLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_friendRequestSettings; // 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_friendStatus = a2->getTag(a2); m_friendRequestSettings = a1->m_friendRequestSettings; if ( m_friendRequestSettings ) { data = m_friendRequestSettings->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_friendStatus; CCMenuItemToggler::toggle(v7, v9 != 0); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source