{"type": "func", "start": 6442528000, "end": 6442528189, "name": "cocos2d::extension::CCScrollView::setContainer", "pseudocode": "// \n// cocos2d::extension::CCScrollView::setContainer from 0x180012d00 to 0x180012dbd (189 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18002e94c\n// > <???> @ 0x18002e95c\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a428\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::setContainer(\n        cocos2d::extension::CCScrollView *this,\n        struct cocos2d::CCNode *a2)\n{\n  struct cocos2d::CCNode *v2; // rbx\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  const struct cocos2d::CCSize *v6; // rbx\n  char v7; // [rsp+38h] [rbp+10h] BYREF\n\n  if ( a2 )\n  {\n    v2 = a2;\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(cocos2d::extension::CCScrollView *, struct cocos2d::CCNode *))(*(_QWORD *)this + 560LL))(\n      this,\n      a2);\n    *((_QWORD *)this + 56) = v2;\n    (*(void (__fastcall **)(struct cocos2d::CCNode *, _QWORD))(*(_QWORD *)v2 + 416LL))(v2, 0);\n    v4 = **((_QWORD **)this + 56);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, 0.0, 0.0);\n    (*(void (__fastcall **)(_QWORD, __int64))(v4 + 272))(*((_QWORD *)this + 56), v5);\n    (*(void (__fastcall **)(cocos2d::extension::CCScrollView *, _QWORD))(*(_QWORD *)this + 448LL))(\n      this,\n      *((_QWORD *)this + 56));\n    v6 = (const struct cocos2d::CCSize *)cocos2d::CCSize::CCSize(\n                                           (cocos2d::CCSize *)&v7,\n                                           (cocos2d::extension::CCScrollView *)((char *)this + 512));\n    cocos2d::CCSize::operator=((char *)this + 512, v6);\n    cocos2d::CCNode::setContentSize(this, v6);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::setContainer from 0x180012d00 to 0x180012dbd (189 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18002e94c\n; > <???> @ 0x18002e95c\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a428\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\ntest    rdx, rdx                                                       ; +0x0, 0x180012d00\njz      locret_180012DBC                                               ; +0x3, 0x180012d03\nmov     [rsp+arg_10], rbx                                              ; +0x9, 0x180012d09\npush    rsi                                                            ; +0xe, 0x180012d0e\nsub     rsp, 20h                                                       ; +0xf, 0x180012d0f\nmov     rax, [rcx]                                                     ; +0x13, 0x180012d13\nmov     rbx, rdx                                                       ; +0x16, 0x180012d16\nmov     dl, 1                                                          ; +0x19, 0x180012d19\nmov     [rsp+28h+arg_0], rdi                                           ; +0x1b, 0x180012d1b\nmov     rsi, rcx                                                       ; +0x20, 0x180012d20\ncall    qword ptr [rax+230h]                                           ; +0x23, 0x180012d23\nmov     [rsi+1C0h], rbx                                                ; +0x29, 0x180012d29\nxor     edx, edx                                                       ; +0x30, 0x180012d30\nmov     rax, [rbx]                                                     ; +0x32, 0x180012d32\nmov     rcx, rbx                                                       ; +0x35, 0x180012d35\ncall    qword ptr [rax+1A0h]                                           ; +0x38, 0x180012d38\nmov     rax, [rsi+1C0h]                                                ; +0x3e, 0x180012d3e\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x45, 0x180012d45\nxorps   xmm2, xmm2                                                     ; +0x4a, 0x180012d4a\nxorps   xmm1, xmm1                                                     ; +0x4d, 0x180012d4d\nmov     rbx, [rax]                                                     ; +0x50, 0x180012d50\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x53, 0x180012d53\nmov     rcx, [rsi+1C0h]                                                ; +0x59, 0x180012d59\nmov     rdx, rax                                                       ; +0x60, 0x180012d60\ncall    qword ptr [rbx+110h]                                           ; +0x63, 0x180012d63\nmov     rax, [rsi]                                                     ; +0x69, 0x180012d69\nmov     rcx, rsi                                                       ; +0x6c, 0x180012d6c\nmov     rdx, [rsi+1C0h]                                                ; +0x6f, 0x180012d6f\ncall    qword ptr [rax+1C0h]                                           ; +0x76, 0x180012d76\nlea     rdx, [rsi+200h]                                                ; +0x7c, 0x180012d7c\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x83, 0x180012d83\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x88, 0x180012d88\nmov     rdx, rax                                                       ; +0x8e, 0x180012d8e\nlea     rcx, [rsi+200h]                                                ; +0x91, 0x180012d91\nmov     rbx, rax                                                       ; +0x98, 0x180012d98\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x9b, 0x180012d9b\nmov     rdx, rbx                                                       ; +0xa1, 0x180012da1\nmov     rcx, rsi                                                       ; +0xa4, 0x180012da4\ncall    cs:__imp_?setContentSize@CCNode@cocos2d@@UEAAXAEBVCCSize@2@@Z; cocos2d::CCNode::setContentSize(cocos2d::CCSize const &) ; +0xa7, 0x180012da7\nmov     rdi, [rsp+28h+arg_0]                                           ; +0xad, 0x180012dad\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xb2, 0x180012db2\nadd     rsp, 20h                                                       ; +0xb7, 0x180012db7\npop     rsi                                                            ; +0xbb, 0x180012dbb\nretn                                                                   ; +0xbc, 0x180012dbc", "xrefs": ["<???> @ 0x18002e94c", "<???> @ 0x18002e95c", "<???> @ 0x18002fdf8", "<???> @ 0x18004a428"], "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"}