// // TableView::checkLastCell from 0x697738 to 0x697c70 (1336 bytes) // // 3 xrefs: // > TableView::checkBoundaryOfContent @ 0x697cf4 // > TableView::checkBoundaryOfContent @ 0x698300 // > @ 0x52e10 // // 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 12:50:38 +0000 // __int64 __fastcall TableView::checkLastCell(TableView *this, TableViewCell *a2) { const cocos2d::CCPoint *v4; // x0 float v5; // s8 float v6; // s8 int v7; // w24 int v8; // w23 cocos2d::CCObject *v9; // x22 float v11; // s9 cocos2d::CCObject *v12; // x26 __int64 v13; // x0 float v14; // s10 void (__fastcall *v15)(cocos2d::CCObject *, _BYTE *); // x23 void (__fastcall *v16)(cocos2d::CCObject *, _BYTE *); // x23 float *v17; // x0 __int64 v18; // x0 __int64 v19; // x0 const cocos2d::CCSize *v20; // x0 __int64 v21; // x24 void (__fastcall *v22)(__int64, _BYTE *); // x25 __int64 v23; // x0 __int64 v24; // x24 __int64 v25; // x0 signed int v26; // w23 float v27; // s8 __int64 v28; // x0 __n128 v29; // q0 __int64 v30; // x28 bool v31; // zf __int64 (*v32)(void); // x1 __int64 v33; // x0 long double v34; // q0 float *v35; // x0 float v36; // [xsp+90h] [xbp+90h] float v37; // [xsp+90h] [xbp+90h] float v38; // [xsp+90h] [xbp+90h] _BYTE v39[4]; // [xsp+A0h] [xbp+A0h] BYREF float v40; // [xsp+A4h] [xbp+A4h] _BYTE v41[4]; // [xsp+A8h] [xbp+A8h] BYREF float v42; // [xsp+ACh] [xbp+ACh] float v43[2]; // [xsp+B0h] [xbp+B0h] BYREF _BYTE v44[4]; // [xsp+B8h] [xbp+B8h] BYREF float v45; // [xsp+BCh] [xbp+BCh] _BYTE v46[8]; // [xsp+C0h] [xbp+C0h] BYREF if ( (unsigned int)TableView::checkBoundaryOfCell(this, a2) != 1 ) { v4 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(TableViewCell *))(*(_QWORD *)a2 + 192LL))(a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39, v4); v5 = v40; v6 = v5 - *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)) + 4); if ( (float)(v6 + *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 192LL))(*((_QWORD *)this + 61)) + 4)) > 0.0 ) { v7 = *((_DWORD *)a2 + 121); v8 = *((_DWORD *)a2 + 120) + 1; v9 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject(v9); *((_DWORD *)v9 + 14) = v8; *((_DWORD *)v9 + 15) = v7; *(_QWORD *)v9 = &off_1418970; cocos2d::CCObject::autorelease(v9); if ( (***((int (__fastcall ****)(_QWORD, _QWORD, TableView *))this + 78))( *((_QWORD *)this + 78), *((unsigned int *)a2 + 121), this) > *((_DWORD *)v9 + 14) && !TableView::isDuplicateInVisibleCellArray((__int64)this, (__int64)v9) ) { v11 = (*(float (__fastcall **)(_QWORD, cocos2d::CCObject *, TableView *))(**((_QWORD **)this + 77) + 40LL))( *((_QWORD *)this + 77), v9, this); v12 = (cocos2d::CCObject *)(*(__int64 (__fastcall **)(_QWORD, cocos2d::CCObject *, TableView *))(**((_QWORD **)this + 78) + 24LL))( *((_QWORD *)this + 78), v9, this); v36 = *(float *)(*(__int64 (__fastcall **)(TableView *))(*(_QWORD *)this + 328LL))(this) * -0.5; v13 = (*(__int64 (__fastcall **)(TableViewCell *))(*(_QWORD *)a2 + 192LL))(a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v41, v36, *(float *)(v13 + 4) - v11); v14 = v42; if ( v42 < 0.0 && !(unsigned __int8)TableView::isDuplicateIndexPath((__int64)this, (__int64)v9) ) { v20 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v43, v20); v21 = *((_QWORD *)this + 61); v22 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v21 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v46, v43[0], v43[1] - v14); v23 = v21; v24 = 0; v22(v23, v46); v25 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); cocos2d::CCSize::operator=(v43, v25); v26 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 74)) - 1; if ( v26 >= 0 ) { do { v30 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 74), v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v44); v31 = v26 == (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 74)) - 1; v32 = *(__int64 (**)(void))(*(_QWORD *)v30 + 192LL); if ( v31 ) { v38 = *(float *)((__int64 (__fastcall *)(__int64))v32)(v30); v33 = (*(__int64 (__fastcall **)(TableViewCell *))(*(_QWORD *)a2 + 192LL))(a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, v38, *(float *)(v33 + 4) - v14); *(__n128 *)&v34 = cocos2d::CCPoint::operator=(v44, v46); v35 = (float *)(*(__int64 (__fastcall **)(__int64, long double))(*(_QWORD *)v30 + 192LL))(v30, v34); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, *v35, v45 - v11); v29 = cocos2d::CCPoint::operator=(v41, v46); } else { v37 = *(float *)v32(); v27 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v24 + 192LL))(v24) + 4); v28 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v24 + 328LL))(v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, v37, v27 + *(float *)(v28 + 4)); v29 = cocos2d::CCPoint::operator=(v44, v46); } --v26; v24 = v30; (*(void (__fastcall **)(__int64, _BYTE *, long double))(*(_QWORD *)v30 + 184LL))( v30, v44, *(long double *)&v29); } while ( v26 != -1 ); } } if ( v12 ) { v15 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v12 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, 0.0, 1.0); v15(v12, v46); v16 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v12 + 320LL); v17 = (float *)(*(__int64 (__fastcall **)(TableView *))(*(_QWORD *)this + 328LL))(this); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v46, *v17, v11); v16(v12, v46); (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v12 + 184LL))(v12, v41); *((_DWORD *)v12 + 108) = *((_DWORD *)v9 + 2); *((_DWORD *)v12 + 109) = *((_DWORD *)v9 + 3); *((_DWORD *)v12 + 110) = *((_DWORD *)v9 + 4); *((_DWORD *)v12 + 111) = *((_DWORD *)v9 + 5); *((_DWORD *)v12 + 112) = *((_DWORD *)v9 + 6); *((_DWORD *)v12 + 113) = *((_DWORD *)v9 + 7); *((_DWORD *)v12 + 114) = *((_DWORD *)v9 + 8); *((_DWORD *)v12 + 115) = *((_DWORD *)v9 + 9); *((_DWORD *)v12 + 116) = *((_DWORD *)v9 + 10); *((_DWORD *)v12 + 117) = *((_DWORD *)v9 + 11); *((_DWORD *)v12 + 118) = *((_DWORD *)v9 + 12); *((_DWORD *)v12 + 119) = *((_DWORD *)v9 + 13); *((_DWORD *)v12 + 120) = *((_DWORD *)v9 + 14); *((_DWORD *)v12 + 121) = *((_DWORD *)v9 + 15); cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 74), v12); if ( !(unsigned __int8)TableView::isDuplicateIndexPath((__int64)this, (__int64)v9) ) cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 76), v9); v18 = *((_QWORD *)this + 77); if ( v18 ) (*(void (__fastcall **)(__int64, cocos2d::CCObject *, cocos2d::CCObject *, TableView *))(*(_QWORD *)v18 + 16LL))( v18, v9, v12, this); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 61) + 456LL))( *((_QWORD *)this + 61), v12); v19 = *((_QWORD *)this + 77); if ( v19 ) (*(void (__fastcall **)(__int64, cocos2d::CCObject *, cocos2d::CCObject *, TableView *))(*(_QWORD *)v19 + 24LL))( v19, v9, v12, this); } } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source