// // cocos2d::extension::CCTableView::_updateCellPositions from 0x100419110 to 0x10041921f (271 bytes) // // 4 xrefs: // > cocos2d::extension::CCTableView::create @ 0x100418f3d // > cocos2d::extension::CCTableView::reloadData @ 0x1004197d6 // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x100419dfa // > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x100419f78 // // This function is hookable on this platform (idp: pc, 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:30:12 +0000 // void __fastcall cocos2d::extension::CCTableView::_updateCellPositions(__int64 a1) { int v1; // r12d unsigned __int64 v2; // rax __int64 v3; // rcx unsigned __int64 v4; // rdx __int64 v5; // r14 float v6; // xmm0_4 __int64 i; // r12 float *v8; // rax __int64 v9; // [rsp+8h] [rbp-48h] BYREF _QWORD *v10; // [rsp+10h] [rbp-40h] __int64 v11; // [rsp+1Ch] [rbp-34h] BYREF float v12; // [rsp+24h] [rbp-2Ch] v1 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 640) + 40LL))(*(_QWORD *)(a1 + 640), a1); v2 = v1 + 1; LODWORD(v11) = 0; v3 = *(_QWORD *)(a1 + 600); v4 = (*(_QWORD *)(a1 + 608) - v3) >> 2; if ( v2 <= v4 ) { if ( v2 < v4 ) *(_QWORD *)(a1 + 608) = v3 + 4 * v2; } else { sub_10040AFE0((void **)(a1 + 600), v2 - v4, (unsigned int *)&v11); } if ( v1 > 0 ) { v10 = (_QWORD *)(a1 + 600); sub_100278600(&v11); v5 = (unsigned int)v1; v6 = 0.0; for ( i = 0; i != v5; ++i ) { v12 = v6; *(float *)(*(_QWORD *)(a1 + 600) + 4 * i) = v6; (*(void (__fastcall **)(__int64 *, _QWORD, __int64, _QWORD))(**(_QWORD **)(a1 + 640) + 16LL))( &v9, *(_QWORD *)(a1 + 640), a1, (unsigned int)i); sub_100278660(&v11, &v9); v8 = (float *)&v11 + 1; if ( !*(_DWORD *)(a1 + 424) ) v8 = (float *)&v11; v6 = v12 + *v8; } *(float *)(*v10 + 4 * v5) = v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source