// // TextArea::colorAllCharactersTo from 0x592808 to 0x5928e0 (216 bytes) // // 14 xrefs: // > CommentCell::loadFromComment @ 0x617870 // > CommentCell::loadFromComment @ 0x617d5c // > CommentCell::loadFromComment @ 0x617f84 // > AccountLayer::updatePage @ 0x84b230 // > AccountLayer::updatePage @ 0x84b3cc // > AccountLayer::backupAccountFinished @ 0x84c0e4 // > AccountLayer::backupAccountFailed @ 0x84c39c // > AccountLayer::syncAccountFinished @ 0x84c6b4 // > AccountLayer::syncAccountFailed @ 0x84c8d0 // > AccountHelpLayer::updatePage @ 0x84cdf0 // > AccountHelpLayer::updatePage @ 0x84cee8 // > GJWriteMessagePopup::updateText @ 0x8cf738 // > GJWriteMessagePopup::updateText @ 0x8cf80c // > @ 0xb5dd0 // // 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 // // local variable allocation has failed, the output may be wrong! void TextArea::colorAllCharactersTo(TextArea *a1, cocos2d::ccColor3B a2) { cocos2d::ccArray *data; // x24 unsigned __int64 v3; // x22 __int64 v4; // x23 __int64 v5; // x25 __int64 v6; // x19 __int64 v7; // x20 __int64 v8; // x2 __int64 v9; // [xsp+58h] [xbp+58h] BYREF v9 = *(_QWORD *)&a2.r; data = a1->m_label->getChildren(a1->m_label)->data; if ( (int)data->num > 0 ) { v3 = 0; v4 = 8 * (data->num - 1 + 1LL); do { v5 = *(_QWORD *)(((__int64 (__fastcall *)(cocos2d::CCObject *))data->arr[v3 / 8]->__vftable[5].setTag)(data->arr[v3 / 8]) + 56); if ( *(int *)v5 > 0 ) { v6 = 0; v7 = 8 * ((unsigned int)(*(_DWORD *)v5 - 1) + 1LL); do { v8 = *(_QWORD *)(*(_QWORD *)(v5 + 16) + v6); v6 += 8; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 944LL))(v8, &v9); } while ( v6 != v7 ); } v3 += 8LL; } while ( v3 != v4 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source