// // sub_100507288 from 0x100507288 to 0x100507948 (1728 bytes) // // 5 xrefs: // > MemberListPopup::init @ 0x10050706c // > MemberListPopup::threadMembersFinished @ 0x100507974 // > MemberListPopup::threadMembersFailed @ 0x1005079ec // > MemberListPopup::threadMessagesFinished @ 0x100507a94 // > MemberListPopup::threadUpdateFinished @ 0x100508c2c // // 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 11:06:57 +0000 // __int64 __fastcall sub_100507288(__int64 a1) { _BOOL4 v2; // w26 int v3; // w20 __int64 v4; // x0 __int64 v5; // x0 _BOOL8 v6; // x1 __int64 v7; // x8 int v8; // w9 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x22 int v12; // w0 __int64 v13; // x20 void *v14; // x0 __int64 CString; // x0 __int64 result; // x0 __int64 v17; // x21 int v18; // w20 unsigned int i; // w23 __int64 v20; // x27 __n128 v21; // q0 void *v22; // x28 int v23; // w28 __int64 v24; // x0 void *v25; // x28 void *v26; // x28 void *v27; // x28 void *v28; // x28 __int64 v29; // x0 __int64 v30; // x0 __n128 v31; // q0 __int64 v32; // x23 int v33; // w22 unsigned int j; // w24 __int64 v35; // x28 float v36; // s9 _BOOL4 v37; // w27 __n128 v38; // q0 __int64 v39; // x0 int v40; // w25 __int64 v41; // x0 void *v42; // x25 float v43; // s1 void *v44; // x25 void *v45; // x25 float v46; // [xsp+18h] [xbp-98h] BYREF (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1); sub_10051B070(a1); if ( (*(_BYTE *)(a1 + 816) & 1) != 0 ) { v2 = 0; } else { v3 = *(_DWORD *)(*(_QWORD *)(a1 + 800) + 200LL); v4 = GJAccountManager::sharedState(); v2 = v3 == *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356); } v5 = *(_QWORD *)(a1 + 824); if ( v5 ) { if ( (*(_BYTE *)(a1 + 880) & 1) != 0 ) { v6 = 0; } else { v7 = *(_QWORD *)(a1 + 800); v8 = *(_DWORD *)(v7 + 168); v6 = v8 < 10; if ( v8 <= 9 && !v2 ) v6 = *(_DWORD *)(v7 + 208) == 0; } (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 344LL))(v5, v6); } v9 = GameLevelManager::sharedState(); v10 = sub_1000C6C44(v9, *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL)); v11 = v10; if ( v10 && (unsigned int)sub_1002E757C(v10) ) v12 = sub_1002E757C(v11); else v12 = *(_DWORD *)(*(_QWORD *)(a1 + 800) + 168LL); v13 = *(_QWORD *)(a1 + 840); v14 = sub_1003065B0("%i/%i", v12, 10); CString = cocos2d::CCString::getCString((__int64)v14); result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 928LL))(v13, CString); if ( v11 && (result = sub_1002E757C(v11), (_DWORD)result) ) { v17 = *(_QWORD *)(*(_QWORD *)(a1 + 688) + 416LL); v18 = sub_1002E757C(v11); if ( v18 >= 1 ) { for ( i = 0; i != v18; ++i ) { v20 = sub_1002E75A0(v11, i); v21.n128_f32[0] = -(float)((float)((float)i * 40.0) + 20.0); GJCompactUserCell::buildUserRow(v20, v17, v17, a1, (__int64)sub_100507CE4, 0, 0, 1, v21); if ( *(_DWORD *)(v20 + 376) == *(_DWORD *)(*(_QWORD *)(a1 + 800) + 200LL) ) { v22 = cocos2d::CCLabelBMFont::create_1("Owner", "chatFont.fnt"); sub_1000262BC(&v46, 1.0, 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v22 + 296LL))(v22, &v46); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v22 + 160LL))(v22, 1.0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v22 + 1024LL))(v22, 150); sub_1000262BC(&v46, *(float *)(a1 + 704) + -12.0, -(float)((float)((float)i * 40.0) + 20.0)); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v22 + 184LL))(v22, &v46); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v22, 1); } if ( v2 ) { v23 = *(_DWORD *)(v20 + 376); v24 = GJAccountManager::sharedState(); if ( v23 != *(_DWORD *)(v24 + 352) - *(_DWORD *)(v24 + 356) ) { v25 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_deleteIcon_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v25 + 160LL))(v25, 0.7); v26 = CCMenuItemSpriteExtra::create((__int64)v25, 0, a1, (__int64)sub_100507D2C, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v26, 1.5); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v26 + 648LL))(v26, v20); sub_1000262BC(&v46, *(float *)(a1 + 704) + -18.0, -(float)((float)((float)i * 40.0) + 20.0)); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v26 + 184LL))(v26, &v46); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v26, 3); v27 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"particle_313_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v27 + 160LL))(v27, 1.2); v28 = CCMenuItemSpriteExtra::create((__int64)v27, 0, a1, (__int64)sub_100507EC0, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v28, 1.5); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v28 + 648LL))(v28, v20); sub_1000262BC(&v46, *(float *)(a1 + 704) + -47.0, -(float)((float)((float)i * 40.0) + 20.0)); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v28 + 184LL))(v28, &v46); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v28, 3); } } } } v29 = GameLevelManager::sharedState(); v30 = sub_1000C6D3C(v29, *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL)); if ( v30 ) { v32 = v30; v33 = sub_1002E757C(v30); if ( v33 >= 1 ) { for ( j = 0; j != v33; ++j ) { v35 = sub_1002E75A0(v32, j); v36 = -(float)((float)((float)(int)(v18 + j) * 40.0) + 20.0); v37 = 1; v38.n128_f32[0] = v36; v39 = GJCompactUserCell::buildUserRow(v35, v17, v17, a1, (__int64)sub_100507CE4, 0, 0, 1, v38); BYTE2(v46) = -81; LOWORD(v46) = -20561; (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v39 + 1072LL))(v39, &v46); if ( !v2 ) { v40 = *(_DWORD *)(v35 + 396); v41 = GJAccountManager::sharedState(); v37 = v40 == *(_DWORD *)(v41 + 352) - *(_DWORD *)(v41 + 356); } v42 = cocos2d::CCLabelBMFont::create_1("Invited", "chatFont.fnt"); sub_1000262BC(&v46, 1.0, 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v42 + 296LL))(v42, &v46); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v42 + 160LL))(v42, 1.0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v42 + 1024LL))(v42, 150); if ( v37 ) v43 = 40.0; else v43 = 12.0; sub_1000262BC(&v46, *(float *)(a1 + 704) - v43, v36); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v42 + 184LL))(v42, &v46); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v42, 1); if ( v37 ) { v44 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_deleteIcon_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v44 + 160LL))(v44, 0.7); v45 = CCMenuItemSpriteExtra::create((__int64)v44, 0, a1, (__int64)sub_100508044, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v45, 1.5); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v45 + 648LL))(v45, v35); sub_1000262BC(&v46, *(float *)(a1 + 704) + -18.0, v36); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v45 + 184LL))(v45, &v46); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v45, 3); } } } } else { v33 = 0; } v31.n128_f32[0] = (float)((float)(v33 + v18) * 40.0) + 6.0; if ( v31.n128_f32[0] < *(float *)(a1 + 708) ) v31.n128_u32[0] = *(_DWORD *)(a1 + 708); return ScrollableContentLayer::setContentHeight(*(_QWORD *)(a1 + 688), v31); } else if ( (*(_BYTE *)(a1 + 880) & 1) == 0 ) { return sub_10051B1FC(a1, "Failed to load members"); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source