{"type": "func", "start": 6442528416, "end": 6442528679, "name": "cocos2d::extension::CCScrollView::updateInset", "pseudocode": "// \n// cocos2d::extension::CCScrollView::updateInset from 0x180012ea0 to 0x180012fa7 (263 bytes)\n// \n// 5 xrefs:\n// > cocos2d::extension::CCScrollView::setContentSize @ 0x180012e86\n// > <???> @ 0x180030f58\n// > <???> @ 0x180030f68\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c3e0\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:40 +0000\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 0x180012ea0 to 0x180012fa7 (263 bytes)\n; \n; 5 xrefs:\n; > cocos2d::extension::CCScrollView::setContentSize @ 0x180012e86\n; > <???> @ 0x180030f58\n; > <???> @ 0x180030f68\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c3e0\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:40 +0000\n; \npush    rdi                                                            ; +0x0, 0x180012ea0\nsub     rsp, 30h                                                       ; +0x2, 0x180012ea2\ncmp     qword ptr [rcx+1C0h], 0                                        ; +0x6, 0x180012ea6\nmov     rdi, rcx                                                       ; +0xe, 0x180012eae\njz      loc_180012FA1                                                  ; +0x11, 0x180012eb1\nmov     [rsp+38h+arg_8], rbx                                           ; +0x17, 0x180012eb7\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x1c, 0x180012ebc\nxorps   xmm2, xmm2                                                     ; +0x21, 0x180012ec1\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x24, 0x180012ec4\nxorps   xmm1, xmm1                                                     ; +0x29, 0x180012ec9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2c, 0x180012ecc\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x32, 0x180012ed2\nlea     rcx, [rdi+1CCh]                                                ; +0x37, 0x180012ed7\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3e, 0x180012ede\nmovss   xmm2, dword ptr [rdi+204h]                                     ; +0x44, 0x180012ee4\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x4c, 0x180012eec\nmovss   xmm1, dword ptr [rdi+200h]                                     ; +0x51, 0x180012ef1\nmovss   xmm6, cs:dword_18002BBD0                                       ; +0x59, 0x180012ef9\nmulss   xmm2, xmm6                                                     ; +0x61, 0x180012f01\nmulss   xmm1, xmm6                                                     ; +0x65, 0x180012f05\naddss   xmm2, dword ptr [rdi+1D0h]                                     ; +0x69, 0x180012f09\naddss   xmm1, dword ptr [rdi+1CCh]                                     ; +0x71, 0x180012f11\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x79, 0x180012f19\nmov     rdx, rax                                                       ; +0x7f, 0x180012f1f\nlea     rcx, [rdi+1CCh]                                                ; +0x82, 0x180012f22\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x89, 0x180012f29\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x8f, 0x180012f2f\nmov     rcx, rdi                                                       ; +0x94, 0x180012f34\ncall    ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0x97, 0x180012f37\nmov     rdx, rax                                                       ; +0x9c, 0x180012f3c\nlea     rcx, [rdi+1D4h]                                                ; +0x9f, 0x180012f3f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa6, 0x180012f46\nmovss   xmm0, dword ptr [rdi+204h]                                     ; +0xac, 0x180012f4c\nlea     rcx, [rsp+38h+arg_0]                                           ; +0xb4, 0x180012f54\nmovss   xmm3, dword ptr [rdi+200h]                                     ; +0xb9, 0x180012f59\nmovss   xmm2, dword ptr [rdi+1D8h]                                     ; +0xc1, 0x180012f61\nmovss   xmm1, dword ptr [rdi+1D4h]                                     ; +0xc9, 0x180012f69\nmulss   xmm0, xmm6                                                     ; +0xd1, 0x180012f71\nmulss   xmm3, xmm6                                                     ; +0xd5, 0x180012f75\nsubss   xmm2, xmm0                                                     ; +0xd9, 0x180012f79\nsubss   xmm1, xmm3                                                     ; +0xdd, 0x180012f7d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe1, 0x180012f81\nmov     rdx, rax                                                       ; +0xe7, 0x180012f87\nlea     rcx, [rdi+1D4h]                                                ; +0xea, 0x180012f8a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf1, 0x180012f91\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xf7, 0x180012f97\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xfc, 0x180012f9c\nadd     rsp, 30h                                                       ; +0x101, 0x180012fa1\npop     rdi                                                            ; +0x105, 0x180012fa5\nretn                                                                   ; +0x106, 0x180012fa6", "xrefs": ["cocos2d::extension::CCScrollView::setContentSize @ 0x180012e86", "<???> @ 0x180030f58", "<???> @ 0x180030f68", "<???> @ 0x180032408", "<???> @ 0x18004c3e0"], "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"}