{"type": "func", "start": 6442519120, "end": 6442519177, "name": "cocos2d::extension::CCEditBox::setContentSize", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setContentSize from 0x180010a50 to 0x180010a89 (57 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18002a2d8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c0d4\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:39 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCEditBox::setContentSize(\n        cocos2d::extension::CCEditBox *this,\n        const struct cocos2d::CCSize *a2)\n{\n  __int64 v4; // rcx\n\n  cocos2d::CCNode::setContentSize(this, a2);\n  v4 = *((_QWORD *)this + 72);\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, const struct cocos2d::CCSize *))(*(_QWORD *)v4 + 160LL))(v4, a2);\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setContentSize from 0x180010a50 to 0x180010a89 (57 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18002a2d8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c0d4\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:39 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180010a50\npush    rdi                                                            ; +0x5, 0x180010a55\nsub     rsp, 20h                                                       ; +0x6, 0x180010a56\nmov     rdi, rdx                                                       ; +0xa, 0x180010a5a\nmov     rbx, rcx                                                       ; +0xd, 0x180010a5d\ncall    cs:__imp_?setContentSize@CCNode@cocos2d@@UEAAXAEBVCCSize@2@@Z; cocos2d::CCNode::setContentSize(cocos2d::CCSize const &) ; +0x10, 0x180010a60\nmov     rcx, [rbx+240h]                                                ; +0x16, 0x180010a66\ntest    rcx, rcx                                                       ; +0x1d, 0x180010a6d\njz      short loc_180010A7E                                            ; +0x20, 0x180010a70\nmov     rax, [rcx]                                                     ; +0x22, 0x180010a72\nmov     rdx, rdi                                                       ; +0x25, 0x180010a75\ncall    qword ptr [rax+0A0h]                                           ; +0x28, 0x180010a78\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2e, 0x180010a7e\nadd     rsp, 20h                                                       ; +0x33, 0x180010a83\npop     rdi                                                            ; +0x37, 0x180010a87\nretn                                                                   ; +0x38, 0x180010a88", "xrefs": ["<???> @ 0x18002a2d8", "<???> @ 0x180032408", "<???> @ 0x18004c0d4"], "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"}