{"type": "func", "start": 6442538784, "end": 6442538904, "name": "cocos2d::extension::CCTableView::__offsetFromIndex", "pseudocode": "// \n// cocos2d::extension::CCTableView::__offsetFromIndex from 0x180015720 to 0x180015798 (120 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015a5f\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c788\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\ncocos2d::CCPoint *__fastcall cocos2d::extension::CCTableView::__offsetFromIndex(\n        __int64 a1,\n        cocos2d::CCPoint *a2,\n        unsigned int a3)\n{\n  __int64 v4; // rbx\n  __int64 v6; // rcx\n  float v7; // xmm2_4\n  float v8; // xmm1_4\n  __int64 v9; // rax\n  char v11; // [rsp+30h] [rbp+8h] BYREF\n  char v12; // [rsp+38h] [rbp+10h] BYREF\n\n  v4 = a3;\n  cocos2d::CCPoint::CCPoint(a2);\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v11);\n  v6 = *(_QWORD *)(a1 + 600);\n  if ( *(_DWORD *)(a1 + 432) )\n  {\n    v7 = *(float *)(v6 + 4 * v4);\n    v8 = 0.0;\n  }\n  else\n  {\n    v8 = *(float *)(v6 + 4 * v4);\n    v7 = 0.0;\n  }\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, v8, v7);\n  cocos2d::CCPoint::operator=(a2, v9);\n  return a2;\n}", "assembly": "; \n; cocos2d::extension::CCTableView::__offsetFromIndex from 0x180015720 to 0x180015798 (120 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015a5f\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c788\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_10], rbx                                              ; +0x0, 0x180015720\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180015725\npush    rdi                                                            ; +0xa, 0x18001572a\nsub     rsp, 20h                                                       ; +0xb, 0x18001572b\nmov     rdi, rcx                                                       ; +0xf, 0x18001572f\nmov     ebx, r8d                                                       ; +0x12, 0x180015732\nmov     rcx, rdx                                                       ; +0x15, 0x180015735\nmov     rsi, rdx                                                       ; +0x18, 0x180015738\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1b, 0x18001573b\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x21, 0x180015741\ncall    cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)   ; +0x26, 0x180015746\ncmp     dword ptr [rdi+1B0h], 0                                        ; +0x2c, 0x18001574c\nmov     rcx, [rdi+258h]                                                ; +0x33, 0x180015753\njz      short loc_180015766                                            ; +0x3a, 0x18001575a\nmovss   xmm2, dword ptr [rcx+rbx*4]                                    ; +0x3c, 0x18001575c\nxorps   xmm1, xmm1                                                     ; +0x41, 0x180015761\njmp     short loc_18001576E                                            ; +0x44, 0x180015764\nmovss   xmm1, dword ptr [rcx+rbx*4]                                    ; +0x46, 0x180015766\nxorps   xmm2, xmm2                                                     ; +0x4b, 0x18001576b\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x4e, 0x18001576e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x53, 0x180015773\nmov     rdx, rax                                                       ; +0x59, 0x180015779\nmov     rcx, rsi                                                       ; +0x5c, 0x18001577c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x5f, 0x18001577f\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x65, 0x180015785\nmov     rax, rsi                                                       ; +0x6a, 0x18001578a\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x6d, 0x18001578d\nadd     rsp, 20h                                                       ; +0x72, 0x180015792\npop     rdi                                                            ; +0x76, 0x180015796\nretn                                                                   ; +0x77, 0x180015797", "xrefs": ["cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015a5f", "<???> @ 0x180032408", "<???> @ 0x18004c788"], "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"}