// // MessageThreadsPage::updateInviteButton from 0xc650bc to 0xc65214 (344 bytes) // // 3 xrefs: // > MessageThreadsPage::applyThreadList @ 0xc769d4 // > MessageThreadsPage::threadListFinished @ 0xc7c3b0 // > @ 0xacdf8 // // This function is hookable on this platform (idp: arm, 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 13:05:24 +0000 // __int64 __fastcall MessageThreadsPage::updateInviteButton(MessageThreadsPage *this) { int v2; // w21 __int64 v3; // x2 __int64 v4; // x22 unsigned __int64 v5; // x1 void (__fastcall *v6)(__int64, __int64); // x23 cocos2d::CCString *v7; // x0 __int64 CString; // x0 float v9; // s9 __int64 v10; // x22 void (__fastcall *v11)(__int64, _BYTE *); // x23 __int64 v12; // x0 float v14; // [xsp+50h] [xbp+50h] _BYTE v15[8]; // [xsp+70h] [xbp+70h] BYREF v2 = *(_DWORD *)(GameLevelManager::sharedState(_stack_chk_guard) + 476); v3 = *((_QWORD *)this + 96); if ( v3 ) { (*(void (__fastcall **)(_QWORD, bool))(*(_QWORD *)v3 + 344LL))(*((_QWORD *)this + 96), v2 > 0); if ( v2 > 0 ) { v4 = *((_QWORD *)this + 97); if ( v2 > 99 ) v5 = 99; else v5 = (unsigned int)v2; v6 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v5); CString = cocos2d::CCString::getCString(v7); v6(v4, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 97), 28.0, 0.8, 0.0); if ( v2 == 1 ) v9 = -0.5; else v9 = 0.0; v10 = *((_QWORD *)this + 97); v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 184LL); v14 = v9 + (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 96) + 328LL))(*((_QWORD *)this + 96)) * 0.5); v12 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 96) + 328LL))(*((_QWORD *)this + 96)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v14, (float)(*(float *)(v12 + 4) * 0.5) + 1.0); v11(v10, v15); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source