// // cocos2d::extension::CCTableView::_indexFromOffset from 0x7af7c8 to 0x7af842 (122 bytes) // // 3 xrefs: // > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x7afffc // > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x7b0080 // > cocos2d::extension::CCTableView::ccTouchBegan @ 0x7b02ea // // 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 12:00:05 +0000 // int __fastcall cocos2d::extension::CCTableView::_indexFromOffset(int a1, float *a2, float a3, float a4) { int v6; // r8 int Container; // r0 int result; // r0 float v9[3]; // [sp+4h] [bp-Ch] BYREF LODWORD(v9[0]) = a2; v9[1] = a3; v9[2] = a4; v6 = (*(int (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 484) + 20))(*(_DWORD *)(a1 + 484), a1) - 1; if ( !*(_DWORD *)(a1 + 456) ) { Container = cocos2d::extension::CCScrollView::getContainer((cocos2d::extension::CCScrollView *)a1); a2[1] = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)Container + 164))(Container) + 4) - a2[1]; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (const cocos2d::CCPoint *)a2); result = cocos2d::extension::CCTableView::__indexFromOffset(a1, v9); if ( result != -1 ) { result &= ~(result >> 31); if ( result > v6 ) return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source