// // MessageThreadsPage::onMarkRead from 0x100929f10 to 0x10092a09a (394 bytes) // // 1 xrefs: // > MessageThreadsPage::init @ 0x1009293ad // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:38:21 +0000 // void __fastcall MessageThreadsPage::onMarkRead(__int64 a1) { __int64 v2; // rdi signed int v3; // r14d int v4; // r15d __int64 v5; // rdi signed int i; // r13d __int64 v7; // r12 char *v8; // rax const std::string::value_type *CString; // rax __int64 v10; // rax std::string v11; // [rsp+0h] [rbp-40h] BYREF v2 = *(_QWORD *)(a1 + 800); if ( !v2 ) return; if ( (int)sub_1007FEF90(v2) <= 0 ) return; v3 = 0; v4 = 0; do v4 += *(unsigned __int8 *)(sub_1007FEFE0(*(_QWORD *)(a1 + 800), v3++) + 304); while ( v3 < (int)sub_1007FEF90(*(_QWORD *)(a1 + 800)) ); if ( !v4 ) return; v5 = *(_QWORD *)(a1 + 800); if ( !v5 ) return; memset(&v11, 0, sizeof(v11)); for ( i = 0; i < (int)sub_1007FEF90(v5); ++i ) { v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 800), i); if ( !*(_BYTE *)(v7 + 304) ) goto LABEL_8; if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) != 0 ) { if ( !v11.__r_.__value_.__l.__size_ ) goto LABEL_16; LABEL_15: std::string::append(&v11, ","); goto LABEL_16; } if ( *(_BYTE *)&v11.__r_.__value_.__l.0 >> 1 ) goto LABEL_15; LABEL_16: v8 = sub_10088E820("%i", *(_DWORD *)(v7 + 56)); CString = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v8); std::string::append(&v11, CString); LABEL_8: v5 = *(_QWORD *)(a1 + 800); } v10 = GameLevelManager::sharedState(); if ( GameLevelManager::updateThread(v10, 0, 3, &v11) ) *(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 664; if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v11.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source