{"type": "func", "start": 6442539552, "end": 6442539728, "name": "cocos2d::extension::CCTableView::_setIndexForCell", "pseudocode": "// \n// cocos2d::extension::CCTableView::_setIndexForCell from 0x180015a20 to 0x180015ad0 (176 bytes)\n// \n// 6 xrefs:\n// > cocos2d::extension::CCTableView::updateCellAtIndex @ 0x180014ee2\n// > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x18001506d\n// > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150a4\n// > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x18001533d\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c7b8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:41 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCTableView::_setIndexForCell(\n        cocos2d::extension::CCTableView *this,\n        unsigned int a2,\n        struct cocos2d::extension::CCTableViewCell *a3)\n{\n  __int64 v3; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rax\n  char v9; // [rsp+40h] [rbp+8h] BYREF\n  float v10; // [rsp+44h] [rbp+Ch]\n  char v11; // [rsp+50h] [rbp+18h] BYREF\n  float v12; // [rsp+54h] [rbp+1Ch]\n\n  v3 = *(_QWORD *)a3;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, 0.0, 0.0);\n  (*(void (__fastcall **)(struct cocos2d::extension::CCTableViewCell *, __int64))(v3 + 288))(a3, v7);\n  cocos2d::extension::CCTableView::__offsetFromIndex((__int64)this, (cocos2d::CCPoint *)&v9, a2);\n  (*(void (__fastcall **)(_QWORD, char *, cocos2d::extension::CCTableView *, _QWORD))(**((_QWORD **)this + 80) + 8LL))(\n    *((_QWORD *)this + 80),\n    &v11,\n    this,\n    a2);\n  if ( !*((_DWORD *)this + 146) )\n  {\n    v8 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 320LL))(*((_QWORD *)this + 56));\n    v10 = (float)(*(float *)(v8 + 4) - v10) - v12;\n  }\n  (*(void (__fastcall **)(struct cocos2d::extension::CCTableViewCell *, char *))(*(_QWORD *)a3 + 184LL))(a3, &v9);\n  *((_DWORD *)a3 + 82) = a2;\n}", "assembly": "; \n; cocos2d::extension::CCTableView::_setIndexForCell from 0x180015a20 to 0x180015ad0 (176 bytes)\n; \n; 6 xrefs:\n; > cocos2d::extension::CCTableView::updateCellAtIndex @ 0x180014ee2\n; > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x18001506d\n; > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150a4\n; > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x18001533d\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c7b8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:41 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180015a20\npush    rbp                                                            ; +0x5, 0x180015a25\npush    rsi                                                            ; +0x6, 0x180015a26\npush    rdi                                                            ; +0x7, 0x180015a27\nsub     rsp, 20h                                                       ; +0x8, 0x180015a28\nmov     rbx, [r8]                                                      ; +0xc, 0x180015a2c\nmov     rsi, rcx                                                       ; +0xf, 0x180015a2f\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x12, 0x180015a32\nxorps   xmm2, xmm2                                                     ; +0x17, 0x180015a37\nxorps   xmm1, xmm1                                                     ; +0x1a, 0x180015a3a\nmov     rdi, r8                                                        ; +0x1d, 0x180015a3d\nmov     ebp, edx                                                       ; +0x20, 0x180015a40\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x22, 0x180015a42\nmov     rdx, rax                                                       ; +0x28, 0x180015a48\nmov     rcx, rdi                                                       ; +0x2b, 0x180015a4b\ncall    qword ptr [rbx+120h]                                           ; +0x2e, 0x180015a4e\nmov     r8d, ebp                                                       ; +0x34, 0x180015a54\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x37, 0x180015a57\nmov     rcx, rsi                                                       ; +0x3c, 0x180015a5c\ncall    ?__offsetFromIndex@CCTableView@extension@cocos2d@@IEAA?AVCCPoint@3@I@Z; cocos2d::extension::CCTableView::__offsetFromIndex(uint) ; +0x3f, 0x180015a5f\nmov     rcx, [rsi+280h]                                                ; +0x44, 0x180015a64\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x4b, 0x180015a6b\nmov     r9d, ebp                                                       ; +0x50, 0x180015a70\nmov     r8, rsi                                                        ; +0x53, 0x180015a73\nmov     rax, [rcx]                                                     ; +0x56, 0x180015a76\ncall    qword ptr [rax+8]                                              ; +0x59, 0x180015a79\ncmp     dword ptr [rsi+248h], 0                                        ; +0x5c, 0x180015a7c\njnz     short loc_180015AAC                                            ; +0x63, 0x180015a83\nmov     rcx, [rsi+1C0h]                                                ; +0x65, 0x180015a85\nmov     rax, [rcx]                                                     ; +0x6c, 0x180015a8c\ncall    qword ptr [rax+140h]                                           ; +0x6f, 0x180015a8f\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x75, 0x180015a95\nsubss   xmm0, [rsp+38h+arg_4]                                          ; +0x7a, 0x180015a9a\nsubss   xmm0, [rsp+38h+arg_14]                                         ; +0x80, 0x180015aa0\nmovss   [rsp+38h+arg_4], xmm0                                          ; +0x86, 0x180015aa6\nmov     rax, [rdi]                                                     ; +0x8c, 0x180015aac\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x8f, 0x180015aaf\nmov     rcx, rdi                                                       ; +0x94, 0x180015ab4\ncall    qword ptr [rax+0B8h]                                           ; +0x97, 0x180015ab7\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x9d, 0x180015abd\nmov     [rdi+148h], ebp                                                ; +0xa2, 0x180015ac2\nadd     rsp, 20h                                                       ; +0xa8, 0x180015ac8\npop     rdi                                                            ; +0xac, 0x180015acc\npop     rsi                                                            ; +0xad, 0x180015acd\npop     rbp                                                            ; +0xae, 0x180015ace\nretn                                                                   ; +0xaf, 0x180015acf", "xrefs": ["cocos2d::extension::CCTableView::updateCellAtIndex @ 0x180014ee2", "cocos2d::extension::CCTableView::insertCellAtIndex @ 0x18001506d", "cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150a4", "cocos2d::extension::CCTableView::removeCellAtIndex @ 0x18001533d", "<???> @ 0x180032408", "<???> @ 0x18004c7b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}