// // GJAccountSettingsLayer::onCommentSetting from 0x1002a1500 to 0x1002a1587 (135 bytes) // // 3 xrefs: // > GJAccountSettingsLayer::init @ 0x1002a03e6 // > GJAccountSettingsLayer::init @ 0x1002a04a4 // > GJAccountSettingsLayer::init @ 0x1002a0555 // // 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 __fastcall GJAccountSettingsLayer::onCommentSetting(GJAccountSettingsLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_commentSettings; // rax cocos2d::ccArray *data; // rax CCMenuItemToggler **arr; // r15 unsigned __int64 v5; // r12 CCMenuItemToggler *v6; // r14 int v7; // eax if ( a2 ) a1->m_commentHistoryStatus = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); m_commentSettings = a1->m_commentSettings; if ( m_commentSettings ) { data = m_commentSettings->data; if ( data->num ) { arr = (CCMenuItemToggler **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { v6 = *arr; if ( !*arr ) break; v7 = ((__int64 (__fastcall *)(CCMenuItemToggler *))v6->getTag)(*arr); CCMenuItemToggler::toggle(v6, v7 != a1->m_commentHistoryStatus); ++arr; } while ( (unsigned __int64)arr <= v5 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source