// // AccountBanPopup::refreshBanRows from 0x762b04 to 0x762d28 (548 bytes) // // 2 xrefs: // > AccountBanPopup::pageChanged @ 0x762d82 // > AccountBanPopup::banLanded @ 0x763d82 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:05 +0000 // int __fastcall AccountBanPopup::refreshBanRows(AccountBanPopup *this) { char *v1; // r8 int v2; // r5 char *v3; // r11 const char *v5; // r9 _BOOL4 v6; // r6 _BOOL4 v7; // r5 char *v8; // r1 int v9; // r1 int v10; // r8 void (__fastcall *v11)(int, void *); // r10 cocos2d::CCString *v12; // r0 void *CString; // r1 int v14; // r1 int v15; // r6 int v16; // r2 void (__fastcall *v17)(int, const char *); // r3 void (__fastcall *v18)(int, char *); // r2 char v19; // r3 _BOOL4 v20; // r1 _BOOL4 v21; // r1 int v22; // r6 void (__fastcall *v23)(int, const char *); // r3 void (__fastcall *v24)(int, char *); // r2 char v25; // r3 _BOOL4 v26; // r1 _BOOL4 v27; // r1 void (__fastcall *v29)(int, char *); // [sp+0h] [bp-24h] int v30; // [sp+4h] [bp-20h] char v31; // [sp+Ch] [bp-18h] BYREF char v32; // [sp+Dh] [bp-17h] char v33; // [sp+Eh] [bp-16h] char v34; // [sp+10h] [bp-14h] BYREF char v35; // [sp+11h] [bp-13h] BYREF char *v36; // [sp+18h] [bp-Ch] v1 = (char *)this + 744; v2 = *((_DWORD *)this + 165); v3 = (char *)this + 756; v5 = nullptr; v6 = v2 == 0; v7 = v2 == 1; do { v30 = *((_DWORD *)v1 + 11); v29 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v30 + 464); AccountBanPopup::banStateText((AccountBanPopup *)&v34, *(_DWORD *)v1); if ( (v34 & 1) != 0 ) v8 = v36; else v8 = &v35; v29(v30, v8); std::string::~string((int)&v34); if ( v6 ) { v9 = *(_DWORD *)v1; if ( *(_DWORD *)v1 ) v9 = 1; } else { v9 = 0; } (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)v1 + 25) + 172))(*((_DWORD *)v1 + 25), v9); if ( *(_DWORD *)v1 ) ++v5; v1 += 4; } while ( v1 != v3 ); v10 = *((_DWORD *)this + 200); v11 = *(void (__fastcall **)(int, void *))(*(_DWORD *)v10 + 464); if ( v5 ) { v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i active", v5); CString = (void *)cocos2d::CCString::getCString(v12); } else { CString = &unk_B6B226; } v11(v10, CString); if ( v6 ) { v14 = (int)v5; if ( v5 ) v14 = 1; } else { v14 = 0; } (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 214) + 172))(*((_DWORD *)this + 214), v14); v15 = *((_DWORD *)this + 201); v16 = *((_DWORD *)this + 189); v17 = *(void (__fastcall **)(int, const char *))(*(_DWORD *)v15 + 464); if ( v16 == 2 ) { v17(v15, "banned"); v18 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v15 + 536); v31 = -1; v19 = 120; } else { if ( v16 == 1 ) { v17(v15, "whitelisted"); v18 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v15 + 536); v19 = 120; v32 = -1; v31 = 120; goto LABEL_27; } v17(v15, "not whitelisted"); v18 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v15 + 536); v19 = -56; v31 = -56; } v32 = v19; LABEL_27: v33 = v19; v18(v15, &v31); v20 = v7 && *((_DWORD *)this + 189) != 2; (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 208) + 172))(*((_DWORD *)this + 208), v20); v21 = v7 && *((_DWORD *)this + 189) != 1; (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 215) + 172))(*((_DWORD *)this + 215), v21); v22 = *((_DWORD *)this + 203); v23 = *(void (__fastcall **)(int, const char *))(*(_DWORD *)v22 + 464); if ( *((int *)this + 191) <= 0 ) { v23(v22, "not muted"); v24 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v22 + 536); v25 = -56; v31 = -56; } else { v23(v22, "muted"); v24 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v22 + 536); v31 = -1; v25 = 120; } v32 = v25; v33 = v25; v24(v22, &v31); v26 = v7 && *((_DWORD *)this + 191) <= 0; (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 210) + 172))(*((_DWORD *)this + 210), v26); v27 = v7 && *((_DWORD *)this + 191) > 0; return (*(int (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 217) + 172))(*((_DWORD *)this + 217), v27); }
GD Web Decomp Icon

GD Web Decomp

Raw Source