// // ThreadViewPopup::buildMemberButton from 0xc661e4 to 0xc664c0 (732 bytes) // // 6 xrefs: // > MemberListPopup::refreshHost @ 0xc67cdc // > ThreadViewPopup::init @ 0xc870dc // > ThreadViewPopup::threadUpdateFinished @ 0xc895c8 // > ThreadViewPopup::threadMessagesFinished @ 0xc8a3a4 // > ThreadViewPopup::threadMessagesFinished @ 0xc8a43c // > @ 0x85b70 // // 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:25 +0000 // __int64 __fastcall ThreadViewPopup::buildMemberButton(ThreadViewPopup *this) { __int64 v2; // x0 const char *v3; // x1 char *v4; // x2 cocos2d::CCString *v5; // x0 cocos2d::CCLabelBMFont *CString; // x0 const char *v7; // x2 cocos2d::CCLabelBMFont *v8; // x23 void (__fastcall *v9)(cocos2d::CCLabelBMFont *, _BYTE *); // x22 float v10; // s10 float v11; // s9 const char *v12; // x1 __int64 v13; // x22 float v14; // s8 cocos2d::CCNode *v15; // x0 float v16; // s0 float v17; // s9 float v18; // s8 __int64 v19; // x24 void (__fastcall *v20)(__int64, _BYTE *); // x25 void (__fastcall *v21)(cocos2d::CCLabelBMFont *, _BYTE *); // x25 void (__fastcall *v22)(__int64, _BYTE *); // x25 __int64 v23; // x0 __int64 v24; // x22 float v25; // s1 float v26; // s0 void (__fastcall *v27)(__int64, _BYTE *); // x19 _BYTE v29[8]; // [xsp+70h] [xbp+70h] BYREF if ( !*(_BYTE *)(*((_QWORD *)this + 94) + 264LL) && *((_QWORD *)this + 69) ) { v2 = *((_QWORD *)this + 109); if ( v2 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 520LL))(v2); *((_QWORD *)this + 109) = 0; *((_QWORD *)this + 108) = 0; } if ( !ThreadViewPopup::removedView(this) ) { v3 = (const char *)*(unsigned int *)(*((_QWORD *)this + 94) + 168LL); if ( (_DWORD)v3 == 1 ) v4 = &byte_11B8890; else v4 = "s"; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i member%s", v3, v4); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v5); v8 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v7); cocos2d::CCLabelBMFont::limitLabelWidth(v8, 70.0, 0.4, 0.2); v9 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v8 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, 0.0, 0.5); v9(v8, v29); v10 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 328LL))(v8); v11 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 168LL))(v8); v13 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_03_001.png", v12); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 160LL))(v13, 0.35); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 360LL))(v13, -90.0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 912LL))(v13, 4294967190LL); v14 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 328LL))(v13) + 4); v15 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 168LL))(v13); v17 = (float)(v10 * v11) + 10.0; v18 = v17 + (float)((float)(v14 * v16) * 0.5); v19 = cocos2d::CCNode::create(v15); v20 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v19 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v29, v18, 28.0); v20(v19, v29); v21 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v8 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, 0.0, 14.0); v21(v8, v29); (*(void (__fastcall **)(__int64, cocos2d::CCLabelBMFont *))(*(_QWORD *)v19 + 456LL))(v19, v8); v22 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, v17, 14.0); v22(v13, v29); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v19 + 456LL))(v19, v13); *((_QWORD *)this + 108) = v8; v23 = CCMenuItemSpriteExtra::create(v19, 0, (__int64)this, (__int64)ThreadViewPopup::onShowMembers, 0); *((_QWORD *)this + 109) = v23; CCMenuItemSpriteExtra::setSizeMult(v23, 1.3); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 109)); v24 = *((_QWORD *)this + 109); v25 = *((float *)this + 221); v26 = *((float *)this + 220) + (float)(v18 * 0.5); v27 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v24 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, v26, v25); v27(v24, v29); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source