// // TableView::deleteTableViewCell from 0x140087a30 to 0x140087cda (682 bytes) // // 2 xrefs: // > CustomSongCell::onDelete @ 0x14015079f // > @ 0x1409125cc // // 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 11:25:57 +0000 // // Hidden C++ exception states: #wind=2 char __fastcall TableView::deleteTableViewCell(__int64 a1, struct cocos2d::CCObject *a2) { int v4; // esi unsigned int v5; // r14d __int64 v6; // r8 cocos2d::CCArray *v7; // rcx unsigned int v8; // ebx struct cocos2d::CCObject *v9; // rax float v10; // xmm6_4 struct cocos2d::CCObject *v11; // rsi const struct cocos2d::CCPoint *v12; // rax __int64 v13; // rbx __int64 v14; // rax int v15; // edi __int64 v16; // rcx _QWORD v18[7]; // [rsp+20h] [rbp-F8h] BYREF int v19; // [rsp+58h] [rbp-C0h] int v20; // [rsp+5Ch] [rbp-BCh] _QWORD v21[7]; // [rsp+60h] [rbp-B8h] BYREF int v22; // [rsp+98h] [rbp-80h] int v23; // [rsp+9Ch] [rbp-7Ch] _QWORD v24[7]; // [rsp+A0h] [rbp-78h] BYREF int v25; // [rsp+D8h] [rbp-40h] int v26; // [rsp+DCh] [rbp-3Ch] float v27; // [rsp+128h] [rbp+10h] BYREF float v28; // [rsp+12Ch] [rbp+14h] char v29; // [rsp+130h] [rbp+18h] BYREF if ( !a2 ) return 0; (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)a2 + 320LL))(a2); v4 = (int)*(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)a2 + 320LL))(a2) + 4); v5 = *((_DWORD *)a2 + 120); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v21); v21[0] = &CCIndexPath::`vftable'; v23 = *((_DWORD *)a2 + 121); v22 = *((_DWORD *)a2 + 120); v7 = *(cocos2d::CCArray **)(a1 + 600); if ( v7 ) { if ( cocos2d::CCArray::count(v7) ) { v8 = 0; if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)) ) { while ( 1 ) { v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), v8); if ( *((_DWORD *)v9 + 15) == *((_DWORD *)a2 + 121) && *((_DWORD *)v9 + 14) == *((_DWORD *)a2 + 120) ) break; if ( ++v8 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)) ) goto LABEL_10; } cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(a1 + 600), v9, 1); } } } LABEL_10: LOBYTE(v6) = 1; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 480) + 536LL))( *(_QWORD *)(a1 + 480), a2, v6); cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(a1 + 584), a2, 1); if ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 584)) ) { v10 = (float)v4; do { v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 584), v5); v12 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 200LL))(v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v27, v12); v13 = *(_QWORD *)v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v29, v27, v10 + v28); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v13 + 184))(v11, v14); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v24); v24[0] = &CCIndexPath::`vftable'; v26 = *((_DWORD *)v11 + 121); v15 = v26; v25 = *((_DWORD *)v11 + 120); LODWORD(v13) = v25; cocos2d::CCObject::CCObject((cocos2d::CCObject *)v18); v18[0] = &CCIndexPath::`vftable'; v19 = v13 - 1; v20 = v15; cocos2d::CCObject::operator=((char *)v11 + 424, v18); *((_DWORD *)v11 + 120) = v19; *((_DWORD *)v11 + 121) = v20; cocos2d::CCObject::~CCObject((cocos2d::CCObject *)v18); cocos2d::CCObject::~CCObject((cocos2d::CCObject *)v24); ++v5; } while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 584)) ); } v16 = *(_QWORD *)(a1 + 616); if ( v16 ) (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD *))(*(_QWORD *)v16 + 16LL))(v16, a1, 1, v21); cocos2d::CCObject::~CCObject((cocos2d::CCObject *)v21); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source