{"type": "func", "start": 6442539808, "end": 6442539928, "name": "cocos2d::extension::CCTableView::__offsetFromIndex", "pseudocode": "// \n// cocos2d::extension::CCTableView::__offsetFromIndex from 0x180015b20 to 0x180015b98 (120 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015e6f\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a854\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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 0x180015b20 to 0x180015b98 (120 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015e6f\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a854\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x180015b20\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180015b25\npush    rdi                                                            ; +0xa, 0x180015b2a\nsub     rsp, 20h                                                       ; +0xb, 0x180015b2b\nmov     rdi, rcx                                                       ; +0xf, 0x180015b2f\nmov     ebx, r8d                                                       ; +0x12, 0x180015b32\nmov     rcx, rdx                                                       ; +0x15, 0x180015b35\nmov     rsi, rdx                                                       ; +0x18, 0x180015b38\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1b, 0x180015b3b\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x21, 0x180015b41\ncall    cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)   ; +0x26, 0x180015b46\ncmp     dword ptr [rdi+1B0h], 0                                        ; +0x2c, 0x180015b4c\nmov     rcx, [rdi+258h]                                                ; +0x33, 0x180015b53\njz      short loc_180015B66                                            ; +0x3a, 0x180015b5a\nmovss   xmm2, dword ptr [rcx+rbx*4]                                    ; +0x3c, 0x180015b5c\nxorps   xmm1, xmm1                                                     ; +0x41, 0x180015b61\njmp     short loc_180015B6E                                            ; +0x44, 0x180015b64\nmovss   xmm1, dword ptr [rcx+rbx*4]                                    ; +0x46, 0x180015b66\nxorps   xmm2, xmm2                                                     ; +0x4b, 0x180015b6b\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x4e, 0x180015b6e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x53, 0x180015b73\nmov     rdx, rax                                                       ; +0x59, 0x180015b79\nmov     rcx, rsi                                                       ; +0x5c, 0x180015b7c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x5f, 0x180015b7f\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x65, 0x180015b85\nmov     rax, rsi                                                       ; +0x6a, 0x180015b8a\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x6d, 0x180015b8d\nadd     rsp, 20h                                                       ; +0x72, 0x180015b92\npop     rdi                                                            ; +0x76, 0x180015b96\nretn                                                                   ; +0x77, 0x180015b97", "xrefs": ["cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015e6f", "<???> @ 0x18002fdf8", "<???> @ 0x18004a854"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}