{"type": "func", "start": 6442538240, "end": 6442538597, "name": "cocos2d::extension::CCTableView::_updateContentSize", "pseudocode": "// \n// cocos2d::extension::CCTableView::_updateContentSize from 0x180015500 to 0x180015665 (357 bytes)\n// \n// 7 xrefs:\n// > cocos2d::extension::CCTableView::create @ 0x18001487e\n// > cocos2d::extension::CCTableView::reloadData @ 0x180014d6c\n// > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150bf\n// > <???> @ 0x180031470\n// > <???> @ 0x180031480\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c758\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::_updateContentSize(cocos2d::extension::CCTableView *this)\n{\n  unsigned int v2; // eax\n  float v3; // xmm1_4\n  float v4; // xmm2_4\n  __int64 v5; // rax\n  int v6; // eax\n  float v7; // xmm2_4\n  cocos2d::CCPoint *v8; // rcx\n  cocos2d::CCPoint *v9; // rax\n  float *v10; // rax\n  float *v11; // rdi\n  float v12; // xmm1_4\n  __int64 v13; // rcx\n  char v14; // [rsp+20h] [rbp-28h] BYREF\n  char v15; // [rsp+50h] [rbp+8h] BYREF\n  float v16; // [rsp+58h] [rbp+10h] BYREF\n  float v17; // [rsp+5Ch] [rbp+14h]\n  float v18; // [rsp+60h] [rbp+18h] BYREF\n  float v19; // [rsp+64h] [rbp+1Ch]\n  char v20; // [rsp+68h] [rbp+20h] BYREF\n\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v15, (const struct cocos2d::CCSize *)&unk_18004A618);\n  v2 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**((_QWORD **)this + 80) + 32LL))(\n         *((_QWORD *)this + 80),\n         this);\n  if ( v2 )\n  {\n    v3 = *(float *)(*((_QWORD *)this + 75) + 4LL * v2);\n    if ( *((_DWORD *)this + 108) )\n    {\n      v4 = *(float *)(*((_QWORD *)this + 75) + 4LL * v2);\n      v3 = *((float *)this + 128);\n    }\n    else\n    {\n      v4 = *((float *)this + 129);\n    }\n    v5 = cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v16, v3, v4);\n    cocos2d::CCSize::operator=(&v15, v5);\n  }\n  (*(void (__fastcall **)(cocos2d::extension::CCTableView *, char *))(*(_QWORD *)this + 312LL))(this, &v15);\n  v6 = *((_DWORD *)this + 108);\n  if ( *((_DWORD *)this + 164) != v6 )\n  {\n    if ( v6 )\n    {\n      v9 = cocos2d::extension::CCScrollView::minContainerOffset((__int64)this, (cocos2d::CCPoint *)&v20);\n      v8 = (cocos2d::CCPoint *)&v14;\n      v7 = *((float *)v9 + 1);\n    }\n    else\n    {\n      v7 = 0.0;\n      v8 = (cocos2d::CCPoint *)&v20;\n    }\n    cocos2d::CCPoint::CCPoint(v8, 0.0, v7);\n    v11 = v10;\n    if ( !*((_BYTE *)this + 476) )\n    {\n      cocos2d::extension::CCScrollView::minContainerOffset((__int64)this, (cocos2d::CCPoint *)&v18);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, 0.0, 0.0);\n      v12 = v17;\n      *v11 = fmaxf(v18, fminf(v16, *v11));\n      v11[1] = fmaxf(v19, fminf(v12, v11[1]));\n    }\n    (*(void (__fastcall **)(_QWORD, float *))(**((_QWORD **)this + 56) + 184LL))(*((_QWORD *)this + 56), v11);\n    v13 = *((_QWORD *)this + 53);\n    if ( v13 )\n      (*(void (__fastcall **)(__int64, cocos2d::extension::CCTableView *))(*(_QWORD *)v13 + 8LL))(v13, this);\n    *((_DWORD *)this + 164) = *((_DWORD *)this + 108);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCTableView::_updateContentSize from 0x180015500 to 0x180015665 (357 bytes)\n; \n; 7 xrefs:\n; > cocos2d::extension::CCTableView::create @ 0x18001487e\n; > cocos2d::extension::CCTableView::reloadData @ 0x180014d6c\n; > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150bf\n; > <???> @ 0x180031470\n; > <???> @ 0x180031480\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c758\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; \npush    rbx                                                            ; +0x0, 0x180015500\nsub     rsp, 40h                                                       ; +0x2, 0x180015502\nmov     rbx, rcx                                                       ; +0x6, 0x180015506\nlea     rdx, unk_18004A618                                             ; +0x9, 0x180015509\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x10, 0x180015510\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x15, 0x180015515\nmov     rcx, [rbx+280h]                                                ; +0x1b, 0x18001551b\nmov     rdx, rbx                                                       ; +0x22, 0x180015522\nmov     rax, [rcx]                                                     ; +0x25, 0x180015525\ncall    qword ptr [rax+20h]                                            ; +0x28, 0x180015528\ntest    eax, eax                                                       ; +0x2b, 0x18001552b\njz      short loc_180015574                                            ; +0x2d, 0x18001552d\ncmp     dword ptr [rbx+1B0h], 0                                        ; +0x2f, 0x18001552f\nmov     ecx, eax                                                       ; +0x36, 0x180015536\nmov     rax, [rbx+258h]                                                ; +0x38, 0x180015538\nmovss   xmm1, dword ptr [rax+rcx*4]                                    ; +0x3f, 0x18001553f\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x44, 0x180015544\njz      short loc_180015558                                            ; +0x49, 0x180015549\nmovaps  xmm2, xmm1                                                     ; +0x4b, 0x18001554b\nmovss   xmm1, dword ptr [rbx+200h]                                     ; +0x4e, 0x18001554e\njmp     short loc_180015560                                            ; +0x56, 0x180015556\nmovss   xmm2, dword ptr [rbx+204h]                                     ; +0x58, 0x180015558\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x60, 0x180015560\nmov     rdx, rax                                                       ; +0x66, 0x180015566\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x69, 0x180015569\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x6e, 0x18001556e\nmov     rax, [rbx]                                                     ; +0x74, 0x180015574\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x77, 0x180015577\nmov     rcx, rbx                                                       ; +0x7c, 0x18001557c\ncall    qword ptr [rax+138h]                                           ; +0x7f, 0x18001557f\nmov     eax, [rbx+1B0h]                                                ; +0x85, 0x180015585\ncmp     [rbx+290h], eax                                                ; +0x8b, 0x18001558b\njz      loc_18001565F                                                  ; +0x91, 0x180015591\nmov     [rsp+48h+var_10], rdi                                          ; +0x97, 0x180015597\ntest    eax, eax                                                       ; +0x9c, 0x18001559c\njnz     short loc_1800155AA                                            ; +0x9e, 0x18001559e\nxorps   xmm2, xmm2                                                     ; +0xa0, 0x1800155a0\nlea     rcx, [rsp+48h+arg_18]                                          ; +0xa3, 0x1800155a3\njmp     short loc_1800155C1                                            ; +0xa8, 0x1800155a8\nlea     rdx, [rsp+48h+arg_18]                                          ; +0xaa, 0x1800155aa\nmov     rcx, rbx                                                       ; +0xaf, 0x1800155af\ncall    ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0xb2, 0x1800155b2\nlea     rcx, [rsp+48h+var_28]                                          ; +0xb7, 0x1800155b7\nmovss   xmm2, dword ptr [rax+4]                                        ; +0xbc, 0x1800155bc\nxorps   xmm1, xmm1                                                     ; +0xc1, 0x1800155c1\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xc4, 0x1800155c4\ncmp     byte ptr [rbx+1DCh], 0                                         ; +0xca, 0x1800155ca\nmov     rdi, rax                                                       ; +0xd1, 0x1800155d1\njnz     short loc_180015626                                            ; +0xd4, 0x1800155d4\nlea     rdx, [rsp+48h+arg_10]                                          ; +0xd6, 0x1800155d6\nmov     rcx, rbx                                                       ; +0xdb, 0x1800155db\ncall    ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0xde, 0x1800155de\nxorps   xmm2, xmm2                                                     ; +0xe3, 0x1800155e3\nlea     rcx, [rsp+48h+arg_8]                                           ; +0xe6, 0x1800155e6\nxorps   xmm1, xmm1                                                     ; +0xeb, 0x1800155eb\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xee, 0x1800155ee\nmovss   xmm1, [rsp+48h+arg_8]                                          ; +0xf4, 0x1800155f4\nminss   xmm1, dword ptr [rdi]                                          ; +0xfa, 0x1800155fa\nmovss   xmm0, [rsp+48h+arg_10]                                         ; +0xfe, 0x1800155fe\nmaxss   xmm0, xmm1                                                     ; +0x104, 0x180015604\nmovss   xmm1, [rsp+48h+arg_C]                                          ; +0x108, 0x180015608\nmovss   dword ptr [rdi], xmm0                                          ; +0x10e, 0x18001560e\nminss   xmm1, dword ptr [rdi+4]                                        ; +0x112, 0x180015612\nmovss   xmm0, [rsp+48h+arg_14]                                         ; +0x117, 0x180015617\nmaxss   xmm0, xmm1                                                     ; +0x11d, 0x18001561d\nmovss   dword ptr [rdi+4], xmm0                                        ; +0x121, 0x180015621\nmov     rcx, [rbx+1C0h]                                                ; +0x126, 0x180015626\nmov     rdx, rdi                                                       ; +0x12d, 0x18001562d\nmov     rax, [rcx]                                                     ; +0x130, 0x180015630\ncall    qword ptr [rax+0B8h]                                           ; +0x133, 0x180015633\nmov     rcx, [rbx+1A8h]                                                ; +0x139, 0x180015639\ntest    rcx, rcx                                                       ; +0x140, 0x180015640\njz      short loc_18001564E                                            ; +0x143, 0x180015643\nmov     rax, [rcx]                                                     ; +0x145, 0x180015645\nmov     rdx, rbx                                                       ; +0x148, 0x180015648\ncall    qword ptr [rax+8]                                              ; +0x14b, 0x18001564b\nmov     eax, [rbx+1B0h]                                                ; +0x14e, 0x18001564e\nmov     rdi, [rsp+48h+var_10]                                          ; +0x154, 0x180015654\nmov     [rbx+290h], eax                                                ; +0x159, 0x180015659\nadd     rsp, 40h                                                       ; +0x15f, 0x18001565f\npop     rbx                                                            ; +0x163, 0x180015663\nretn                                                                   ; +0x164, 0x180015664", "xrefs": ["cocos2d::extension::CCTableView::create @ 0x18001487e", "cocos2d::extension::CCTableView::reloadData @ 0x180014d6c", "cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800150bf", "<???> @ 0x180031470", "<???> @ 0x180031480", "<???> @ 0x180032408", "<???> @ 0x18004c758"], "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"}