// // ReportQueuePopup::init from 0xc4fe94 to 0xc50528 (1684 bytes) // // 3 xrefs: // > ReportQueuePopup::create @ 0xc50758 // > @ 0xa3810 // > @ 0x14e7ee0 // // 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:08 +0000 // __int64 __fastcall ReportQueuePopup::init(ReportQueuePopup *this) { unsigned int inited; // w24 unsigned int v3; // w23 __int64 v5; // x25 void (__fastcall *v6)(__int64, void **); // x28 long double v7; // q0 float v8; // s8 const char *v9; // x6 __int64 v10; // x0 __int64 v11; // x25 void (__fastcall *v12)(__int64, void **); // x28 __int64 v13; // x20 void (__fastcall *v14)(__int64, void **); // x21 const char *v15; // x1 __int64 v16; // x20 __int64 v17; // x20 void (__fastcall *v18)(__int64, void **); // x21 char *v19; // x0 _BYTE *v20; // x21 __int64 *v21; // x20 void *v22; // x1 const char *v23; // x0 size_t v24; // x0 __int64 v25; // x0 float v26; // s1 __int64 v27; // x21 float v28; // s3 void (__fastcall *v29)(__int64, _BYTE *); // x24 __int64 v30; // x21 void (__fastcall *v31)(__int64, _BYTE *); // x24 __int64 v32; // x21 __int64 (__fastcall *v33)(__int64, _BYTE *); // x24 cocos2d::CCNotificationCenter *v34; // x0 int v35; // w0 __int64 *v36; // x19 char *v37; // x0 void *v38; // [xsp+88h] [xbp+88h] _BYTE v39[8]; // [xsp+90h] [xbp+90h] BYREF __int64 v40; // [xsp+98h] [xbp+98h] BYREF size_t v41; // [xsp+A0h] [xbp+A0h] void *v42; // [xsp+A8h] [xbp+A8h] __int64 v43[2]; // [xsp+B0h] [xbp+B0h] BYREF void *v44; // [xsp+C0h] [xbp+C0h] __int64 v45; // [xsp+C8h] [xbp+C8h] BYREF size_t v46; // [xsp+D0h] [xbp+D0h] void *v47; // [xsp+D8h] [xbp+D8h] void *v48; // [xsp+E0h] [xbp+E0h] BYREF __int64 *v49; // [xsp+E8h] [xbp+E8h] char *v50; // [xsp+F0h] [xbp+F0h] v45 = 0; v46 = 0; v47 = nullptr; std::string::__init(&v45, &byte_11B8890, 0); inited = (unsigned __int8)PagedListPopup::initPaged( (__int64)this, (cocos2d::CCLabelBMFont *)"Moderation Queue", (unsigned __int8 *)&v45, 440.0, 300.0); v3 = inited; if ( (v45 & 1) != 0 ) { operator delete(v47); if ( !inited ) return v3; } else if ( !inited ) { return v3; } cocos2d::CCLabelBMFont::setFntFile(*((cocos2d::CCLabelBMFont **)this + 93), "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 93) + 160LL))(*((_QWORD *)this + 93), 0.5); v5 = *((_QWORD *)this + 93); v6 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v48, *((float *)this + 165), (float)(*((float *)this + 166) + (float)(*((float *)this + 168) * 0.5)) - 14.0); v6(v5, &v48); PagedListPopup::createScrollArea(this, 40.0, 40.0); LODWORD(v7) = 1110179840; ScrollableContentLayer::setSectionHeight(*((ScrollableContentLayer **)this + 86), v7); v8 = (float)(*((float *)this + 166) - (float)(*((float *)this + 168) * 0.5)) + 22.0; v10 = ButtonSprite::create( (ButtonSprite *)"Top", (const char *)&qword_28 + 4, 0, 1, 0.5, "bigFont.fnt", "GJ_button_04.png", v9, 24.0); *((_QWORD *)this + 101) = v10; v11 = CCMenuItemSpriteExtra::create(v10, 0, (__int64)this, (__int64)ReportQueuePopup::onToggleSort, 0); CCMenuItemSpriteExtra::setSizeMult(v11, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v11); v12 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v11 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v48, (float)(*((float *)this + 165) - (float)(*((float *)this + 167) * 0.5)) + 40.0, v8); v12(v11, &v48); v40 = 0; v41 = 0; v42 = nullptr; std::string::__init( &v40, "Accounts that need a look, highest pts first. Points come from blocked text and player reports.\n" "\n" "Review opens the account with everything reported and the actions. Bans and deletes do not close a case. Pre" "ss Clear in the review when you are finished.\n" "\n" "Viewed by shows who opened the case in the last hour. It is a hint, not a lock.", 0x163u); v43[0] = 0; v43[1] = 0; v44 = nullptr; std::string::__init(v43, "Moderation Queue", 0x10u); v45 = 0; v46 = 0; v47 = nullptr; if ( (v40 & 1) != 0 ) { std::string::__init(&v45, v42, v41); } else { v47 = v42; v45 = v40; v46 = v41; } v13 = InfoAlertButton::create((char *)v43, (char *)&v45, 0.7); if ( (v45 & 1) != 0 ) operator delete(v47); if ( (v43[0] & 1) != 0 ) operator delete(v44); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v13); v14 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v13 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v48, (float)(*((float *)this + 165) - (float)(*((float *)this + 167) * 0.5)) + 90.0, v8); v14(v13, &v48); v16 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v15); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.64); v17 = CCMenuItemSpriteExtra::create(v16, 0, (__int64)this, (__int64)ReportQueuePopup::onRefresh, 0); CCMenuItemSpriteExtra::setSizeMult(v17, 1.2); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v17); v18 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v17 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v48, (float)(*((float *)this + 165) + (float)(*((float *)this + 167) * 0.5)) - 24.0, v8); v18(v17, &v48); v48 = nullptr; v49 = nullptr; v50 = nullptr; v19 = (char *)operator new(0x48u); v20 = &off_15484E0; v50 = v19 + 72; v49 = (__int64 *)v19; v21 = (__int64 *)v19; v48 = v19; do { v22 = *(void **)v20; if ( v21 ) { v23 = *(const char **)v20; *v21 = 0; v21[1] = 0; v21[2] = 0; v38 = v22; v24 = strlen(v23); std::string::__init(v21, v38, v24); v21 = v49; } v20 += 8; v21 += 3; v49 = v21; } while ( v20 != algn_15484F8 ); v25 = Dropdown::create(this, *((_QWORD *)this + 69), &v48, 0, (char *)this + 784, 0, 80.0); v26 = *((float *)this + 167); v27 = v25; v28 = *((float *)this + 165); *((_QWORD *)this + 102) = v25; v29 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v25 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, (float)(v28 + (float)(v26 * 0.5)) - 86.0, v8); v29(v27, v39); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 102), 2); v30 = *((_QWORD *)this + 92); v31 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v30 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, 1.0, 0.5); v31(v30, v39); (*(void (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 92) + 1072LL))(*((_QWORD *)this + 92), &unk_119DB70); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 92) + 160LL))(*((_QWORD *)this + 92), 0.576); v32 = *((_QWORD *)this + 92); v33 = *(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v32 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v39, (float)(*((float *)this + 165) + (float)(*((float *)this + 167) * 0.5)) - 12.0, (float)(*((float *)this + 166) + (float)(*((float *)this + 168) * 0.5)) - 14.0); v34 = (cocos2d::CCNotificationCenter *)v33(v32, v39); v35 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v34); cocos2d::CCNotificationCenter::addObserver( v35, (int)this, (int)ReportQueuePopup::onReportedContentChanged, 0, "ReportedContentChangedNotification"); PagedListPopup::loadPage(this, 0); v36 = (__int64 *)v48; if ( v48 ) { v37 = (char *)v49; if ( v48 != v49 ) { do { v49 = (__int64 *)(v37 - 24); std::string::~string((__int64)(v37 - 24)); v37 = (char *)v49; } while ( v36 != v49 ); v37 = (char *)v48; } operator delete(v37); } if ( (v40 & 1) != 0 ) operator delete(v42); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source