// // GJAccountSettingsLayer::onCommentSetting from 0x140293e30 to 0x140293ec3 (147 bytes) // // 6 xrefs: // > GJAccountSettingsLayer::init @ 0x140292eac // > GJAccountSettingsLayer::init @ 0x140292f5f // > GJAccountSettingsLayer::init @ 0x140293003 // > @ 0x1406890e8 // > @ 0x140689140 // > @ 0x1406d1ab4 // // 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::onCommentSetting(GJAccountSettingsLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_commentSettings; // rax cocos2d::ccArray *data; // rdi __int64 num; // rax CCMenuItemToggler **arr; // rdi CCMenuItemToggler **i; // rbp CCMenuItemToggler *v8; // rbx int v9; // eax if ( a2 ) a1->m_commentHistoryStatus = a2->getTag(a2); m_commentSettings = a1->m_commentSettings; if ( m_commentSettings ) { data = m_commentSettings->data; num = data->num; if ( (_DWORD)num ) { arr = (CCMenuItemToggler **)data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { v8 = *arr; if ( !*arr ) break; v9 = v8->getTag(*arr); CCMenuItemToggler::toggle(v8, v9 != a1->m_commentHistoryStatus); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source