// // TableView::reloadData from 0x3c9a2c to 0x3c9d78 (844 bytes) // // 4 xrefs: // > BoomListView::setupList @ 0x3c0846 // > BoomListView::setupList @ 0x3c085c // > CustomListView::setupList @ 0x424c58 // > MPLobbyLayer::updateComments @ 0x66a38e // // 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:46:36 +0000 // cocos2d::CCObject *__fastcall TableView::reloadData(cocos2d::CCObject *this) { int v1; // r4 CCIndexPath *v2; // r9 cocos2d::CCObject *v3; // r7 int v4; // r6 int v5; // r2 cocos2d::CCObject *v6; // r5 cocos2d::CCObject *v7; // r8 float v8; // s16 float v9; // r10 int v10; // r0 float v11; // s17 int *v12; // r10 int v13; // r0 int v14; // r1 float *v15; // r0 float *v16; // r0 char *v17; // r0 void (__fastcall *v18)(cocos2d::CCObject *, _BYTE *); // r10 void (__fastcall *v19)(cocos2d::CCObject *, _BYTE *); // r10 float *v20; // r0 void (__fastcall *v21)(cocos2d::CCObject *, _BYTE *); // r10 int v22; // r0 const cocos2d::CCSize *v23; // r0 int v24; // r11 void (__fastcall *v25)(int, _BYTE *); // r10 int *v26; // r11 float v27; // s19 int v28; // r0 int i; // [sp+0h] [bp-4Ch] cocos2d::CCObject *v30; // [sp+Ch] [bp-40h] int v31; // [sp+10h] [bp-3Ch] cocos2d::CCObject *v32; // [sp+14h] [bp-38h] float v33; // [sp+1Ch] [bp-30h] char v34[4]; // [sp+24h] [bp-28h] BYREF float v35; // [sp+28h] [bp-24h] float v36[2]; // [sp+2Ch] [bp-20h] BYREF char v37[4]; // [sp+34h] [bp-18h] BYREF float v38; // [sp+38h] [bp-14h] _BYTE v39[8]; // [sp+3Ch] [bp-10h] BYREF v1 = (int)this; if ( *((_DWORD *)this + 114) ) { this = *((cocos2d::CCObject **)this + 115); if ( this ) { v2 = nullptr; v3 = nullptr; this = (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)this + 4))(this, v1); v30 = this; while ( (int)v2 < (int)v30 ) { v4 = 0; v31 = (***(int (__fastcall ****)(_DWORD, CCIndexPath *, int))(v1 + 460))(*(_DWORD *)(v1 + 460), v2, v1); this = (cocos2d::CCObject *)cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 444)); v32 = this; while ( v4 < v31 ) { if ( v4 < (int)v32 && (v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 444), v4)) != nullptr ) { this = *(cocos2d::CCObject **)(v1 + 456); if ( this ) this = (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *, int, cocos2d::CCObject *, int))(*(_DWORD *)this + 16))( this, (int)v6 + 324, v6, v1); if ( !v4 ) this = (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v6 + 96))(v6); } else { v7 = CCIndexPath::CCIndexPathWithSectionRow(v2, v4, v5); v8 = COERCE_FLOAT( (*(int (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**(_DWORD **)(v1 + 456) + 20))( *(_DWORD *)(v1 + 456), v7, v1)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34); if ( v3 ) { v9 = *(float *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v3 + 96))(v3); v10 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v3 + 96))(v3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, v9, *(float *)(v10 + 4) - v8); cocos2d::CCPoint::operator=(v34, v39); } else { v35 = (float)(*(float *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v1 + 364) + 164))(*(_DWORD *)(v1 + 364)) + 4) - (float)((float)v4 * v8)) - v8; } v11 = v35; if ( v35 < 0.0 && !TableView::isDuplicateIndexPath(v1, (int)v7) ) { v23 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v1 + 364) + 164))(*(_DWORD *)(v1 + 364)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v36, v23); v24 = *(_DWORD *)(v1 + 364); v25 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v24 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v39, v36[0], v36[1] - v11); v25(v24, v39); v26 = nullptr; for ( i = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 444)) - 1; i >= 0; --i ) { v12 = (int *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 444), i); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v37); v13 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 444)); v14 = *v12; if ( i == v13 - 1 ) { v15 = (float *)(*(int (__fastcall **)(int *))(v14 + 96))(v12); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, *v15, (float)(0.0 - v11) + 1.0); cocos2d::CCPoint::operator=(v37, v39); v16 = (float *)(*(int (__fastcall **)(int *))(*v12 + 96))(v12); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, *v16, v38 - v8); v17 = v34; } else { v33 = *(float *)(*(int (__fastcall **)(int *))(v14 + 96))(v12); v27 = *(float *)((*(int (__fastcall **)(int *))(*v26 + 96))(v26) + 4); v28 = (*(int (__fastcall **)(int *))(*v26 + 164))(v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, v33, v27 + *(float *)(v28 + 4)); v17 = v37; } v26 = v12; cocos2d::CCPoint::operator=(v17, v39); (*(void (__fastcall **)(int *, char *))(*v12 + 92))(v12, v37); } } this = (cocos2d::CCObject *)(*(int (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**(_DWORD **)(v1 + 460) + 12))( *(_DWORD *)(v1 + 460), v7, v1); v6 = this; if ( this ) { v18 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)this + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, 0.0, 1.0); v18(v6, v39); v19 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v6 + 160); v20 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v1 + 164))(v1); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v39, *v20, v8); v19(v6, v39); v21 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v6 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, 0.0, v35); v21(v6, v39); CCIndexPath::operator=((_DWORD *)v6 + 81, v7); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(v1 + 444), v6); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(v1 + 452), v7); v22 = *(_DWORD *)(v1 + 456); if ( v22 ) (*(void (__fastcall **)(int, cocos2d::CCObject *, cocos2d::CCObject *, int))(*(_DWORD *)v22 + 8))( v22, v7, v6, v1); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(v1 + 364) + 228))( *(_DWORD *)(v1 + 364), v6); this = *(cocos2d::CCObject **)(v1 + 456); if ( this ) this = (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *, cocos2d::CCObject *, cocos2d::CCObject *, int))(*(_DWORD *)this + 12))( this, v7, v6, v1); } else { v6 = v3; } } ++v4; v3 = v6; } v2 = (CCIndexPath *)((char *)v2 + 1); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source