{"type": "func", "start": 6442529696, "end": 6442529959, "name": "cocos2d::extension::CCScrollView::updateInset", "pseudocode": "// \n// cocos2d::extension::CCScrollView::updateInset from 0x1800133a0 to 0x1800134a7 (263 bytes)\n// \n// 5 xrefs:\n// > cocos2d::extension::CCScrollView::setContentSize @ 0x180013386\n// > <???> @ 0x18002e9c8\n// > <???> @ 0x18002e9d8\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a4ac\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\nvoid __fastcall cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *this)\n{\n  __int64 v2; // rax\n  cocos2d::CCPoint *v3; // rax\n  __int64 v4; // rax\n  char v5; // [rsp+40h] [rbp+8h] BYREF\n\n  if ( *((_QWORD *)this + 56) )\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, 0.0, 0.0);\n    cocos2d::CCPoint::operator=((char *)this + 460, &v5);\n    cocos2d::CCPoint::CCPoint(\n      (cocos2d::CCPoint *)&v5,\n      (float)(*((float *)this + 128) * 0.2) + *((float *)this + 115),\n      (float)(*((float *)this + 129) * 0.2) + *((float *)this + 116));\n    cocos2d::CCPoint::operator=((char *)this + 460, v2);\n    v3 = cocos2d::extension::CCScrollView::minContainerOffset((__int64)this, (cocos2d::CCPoint *)&v5);\n    cocos2d::CCPoint::operator=((char *)this + 468, v3);\n    cocos2d::CCPoint::CCPoint(\n      (cocos2d::CCPoint *)&v5,\n      *((float *)this + 117) - (float)(*((float *)this + 128) * 0.2),\n      *((float *)this + 118) - (float)(*((float *)this + 129) * 0.2));\n    cocos2d::CCPoint::operator=((char *)this + 468, v4);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::updateInset from 0x1800133a0 to 0x1800134a7 (263 bytes)\n; \n; 5 xrefs:\n; > cocos2d::extension::CCScrollView::setContentSize @ 0x180013386\n; > <???> @ 0x18002e9c8\n; > <???> @ 0x18002e9d8\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a4ac\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\npush    rdi                                                            ; +0x0, 0x1800133a0\nsub     rsp, 30h                                                       ; +0x2, 0x1800133a2\ncmp     qword ptr [rcx+1C0h], 0                                        ; +0x6, 0x1800133a6\nmov     rdi, rcx                                                       ; +0xe, 0x1800133ae\njz      loc_1800134A1                                                  ; +0x11, 0x1800133b1\nmov     [rsp+38h+arg_8], rbx                                           ; +0x17, 0x1800133b7\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x1c, 0x1800133bc\nxorps   xmm2, xmm2                                                     ; +0x21, 0x1800133c1\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x24, 0x1800133c4\nxorps   xmm1, xmm1                                                     ; +0x29, 0x1800133c9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2c, 0x1800133cc\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x32, 0x1800133d2\nlea     rcx, [rdi+1CCh]                                                ; +0x37, 0x1800133d7\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3e, 0x1800133de\nmovss   xmm2, dword ptr [rdi+204h]                                     ; +0x44, 0x1800133e4\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x4c, 0x1800133ec\nmovss   xmm1, dword ptr [rdi+200h]                                     ; +0x51, 0x1800133f1\nmovss   xmm6, cs:dword_180029508                                       ; +0x59, 0x1800133f9\nmulss   xmm2, xmm6                                                     ; +0x61, 0x180013401\nmulss   xmm1, xmm6                                                     ; +0x65, 0x180013405\naddss   xmm2, dword ptr [rdi+1D0h]                                     ; +0x69, 0x180013409\naddss   xmm1, dword ptr [rdi+1CCh]                                     ; +0x71, 0x180013411\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x79, 0x180013419\nmov     rdx, rax                                                       ; +0x7f, 0x18001341f\nlea     rcx, [rdi+1CCh]                                                ; +0x82, 0x180013422\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x89, 0x180013429\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x8f, 0x18001342f\nmov     rcx, rdi                                                       ; +0x94, 0x180013434\ncall    ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0x97, 0x180013437\nmov     rdx, rax                                                       ; +0x9c, 0x18001343c\nlea     rcx, [rdi+1D4h]                                                ; +0x9f, 0x18001343f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa6, 0x180013446\nmovss   xmm0, dword ptr [rdi+204h]                                     ; +0xac, 0x18001344c\nlea     rcx, [rsp+38h+arg_0]                                           ; +0xb4, 0x180013454\nmovss   xmm3, dword ptr [rdi+200h]                                     ; +0xb9, 0x180013459\nmovss   xmm2, dword ptr [rdi+1D8h]                                     ; +0xc1, 0x180013461\nmovss   xmm1, dword ptr [rdi+1D4h]                                     ; +0xc9, 0x180013469\nmulss   xmm0, xmm6                                                     ; +0xd1, 0x180013471\nmulss   xmm3, xmm6                                                     ; +0xd5, 0x180013475\nsubss   xmm2, xmm0                                                     ; +0xd9, 0x180013479\nsubss   xmm1, xmm3                                                     ; +0xdd, 0x18001347d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe1, 0x180013481\nmov     rdx, rax                                                       ; +0xe7, 0x180013487\nlea     rcx, [rdi+1D4h]                                                ; +0xea, 0x18001348a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf1, 0x180013491\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xf7, 0x180013497\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xfc, 0x18001349c\nadd     rsp, 30h                                                       ; +0x101, 0x1800134a1\npop     rdi                                                            ; +0x105, 0x1800134a5\nretn                                                                   ; +0x106, 0x1800134a6", "xrefs": ["cocos2d::extension::CCScrollView::setContentSize @ 0x180013386", "<???> @ 0x18002e9c8", "<???> @ 0x18002e9d8", "<???> @ 0x18002fdf8", "<???> @ 0x18004a4ac"], "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"}