; ; cocos2d::extension::CCTableView::_indexFromOffset from 0x180015ba0 to 0x180015c2f (143 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x180016219 ; > @ 0x18002fdf8 ; > @ 0x18004a860 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x180015ba0 mov [rsp+arg_10], rsi ; +0x5, 0x180015ba5 push rdi ; +0xa, 0x180015baa sub rsp, 20h ; +0xb, 0x180015bab mov rbx, rcx ; +0xf, 0x180015baf mov rdi, rdx ; +0x12, 0x180015bb2 mov rcx, [rcx+280h] ; +0x15, 0x180015bb5 mov rdx, rbx ; +0x1c, 0x180015bbc mov rax, [rcx] ; +0x1f, 0x180015bbf call qword ptr [rax+20h] ; +0x22, 0x180015bc2 cmp dword ptr [rbx+248h], 0 ; +0x25, 0x180015bc5 lea esi, [rax-1] ; +0x2c, 0x180015bcc jnz short loc_180015BF0 ; +0x2f, 0x180015bcf mov rcx, [rbx+1C0h] ; +0x31, 0x180015bd1 mov rdx, [rcx] ; +0x38, 0x180015bd8 call qword ptr [rdx+130h] ; +0x3b, 0x180015bdb movss xmm0, dword ptr [rax+4] ; +0x41, 0x180015be1 subss xmm0, dword ptr [rdi+4] ; +0x46, 0x180015be6 movss dword ptr [rdi+4], xmm0 ; +0x4b, 0x180015beb mov rdx, rdi ; +0x50, 0x180015bf0 lea rcx, [rsp+28h+arg_0] ; +0x53, 0x180015bf3 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x58, 0x180015bf8 mov rdx, rax ; +0x5e, 0x180015bfe mov rcx, rbx ; +0x61, 0x180015c01 call ?__indexFromOffset@CCTableView@extension@cocos2d@@IEAAHVCCPoint@3@@Z; cocos2d::extension::CCTableView::__indexFromOffset(cocos2d::CCPoint) ; +0x64, 0x180015c04 cmp eax, 0FFFFFFFFh ; +0x69, 0x180015c09 jz short loc_180015C1F ; +0x6c, 0x180015c0c xor ecx, ecx ; +0x6e, 0x180015c0e test eax, eax ; +0x70, 0x180015c10 cmovs eax, ecx ; +0x72, 0x180015c12 mov ecx, 0FFFFFFFFh ; +0x75, 0x180015c15 cmp eax, esi ; +0x7a, 0x180015c1a cmovg eax, ecx ; +0x7c, 0x180015c1c mov rbx, [rsp+28h+arg_8] ; +0x7f, 0x180015c1f mov rsi, [rsp+28h+arg_10] ; +0x84, 0x180015c24 add rsp, 20h ; +0x89, 0x180015c29 pop rdi ; +0x8d, 0x180015c2d retn ; +0x8e, 0x180015c2e