{"type": "func", "start": 6442520912, "end": 6442521329, "name": "cocos2d::extension::CCEditBoxImplWin::initWithSize", "pseudocode": "// \n// cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x180011150 to 0x1800112f1 (417 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18002a7c8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c194\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\nchar __fastcall cocos2d::extension::CCEditBoxImplWin::initWithSize(\n        cocos2d::extension::CCEditBoxImplWin *this,\n        const struct cocos2d::CCSize *a2)\n{\n  struct cocos2d::CCLabelTTF *v4; // rax\n  struct cocos2d::CCLabelTTF *v5; // rdi\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 *v8; // rdi\n  __int64 v9; // rbx\n  __int64 v10; // rax\n  struct cocos2d::CCLabelTTF *v11; // rax\n  struct cocos2d::CCLabelTTF *v12; // rdi\n  __int64 v13; // rbx\n  __int64 v14; // rax\n  __int64 *v15; // rdi\n  __int64 v16; // rbx\n  __int64 v17; // rax\n  char v19; // [rsp+40h] [rbp+8h] BYREF\n\n  v4 = cocos2d::CCLabelTTF::create(byte_180025968, byte_180025968, *((float *)a2 + 1) - 12.0);\n  *((_QWORD *)this + 3) = v4;\n  v5 = v4;\n  v6 = *(_QWORD *)v4;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.5);\n  (*(void (__fastcall **)(struct cocos2d::CCLabelTTF *, __int64))(v6 + 288))(v5, v7);\n  v8 = *((__int64 **)this + 3);\n  v9 = *v8;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 5.0, *((float *)a2 + 1) * 0.5);\n  (*(void (__fastcall **)(__int64 *, __int64))(v9 + 184))(v8, v10);\n  (**(void (__fastcall ***)(__int64, char *))(*((_QWORD *)this + 3) + 320LL))(\n    *((_QWORD *)this + 3) + 320LL,\n    (char *)this + 120);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 464LL))(\n    *((_QWORD *)this + 2),\n    *((_QWORD *)this + 3));\n  v11 = cocos2d::CCLabelTTF::create(byte_180025968, byte_180025968, *((float *)a2 + 1) - 12.0);\n  *((_QWORD *)this + 4) = v11;\n  v12 = v11;\n  v13 = *(_QWORD *)v11;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.5);\n  (*(void (__fastcall **)(struct cocos2d::CCLabelTTF *, __int64))(v13 + 288))(v12, v14);\n  v15 = *((__int64 **)this + 4);\n  v16 = *v15;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 5.0, *((float *)a2 + 1) * 0.5);\n  (*(void (__fastcall **)(__int64 *, __int64))(v16 + 184))(v15, v17);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 4) + 336LL))(*((_QWORD *)this + 4), 0);\n  (**(void (__fastcall ***)(__int64, char *))(*((_QWORD *)this + 4) + 320LL))(\n    *((_QWORD *)this + 4) + 320LL,\n    (char *)this + 123);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 464LL))(\n    *((_QWORD *)this + 2),\n    *((_QWORD *)this + 4));\n  cocos2d::CCSize::operator=((char *)this + 132, a2);\n  return 1;\n}", "assembly": "; \n; cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x180011150 to 0x1800112f1 (417 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18002a7c8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c194\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; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180011150\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x180011155\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x18001115a\npush    rdi                                                            ; +0xf, 0x18001115f\nsub     rsp, 30h                                                       ; +0x10, 0x180011160\nmovss   xmm2, dword ptr [rdx+4]                                        ; +0x14, 0x180011164\nmov     rbp, rdx                                                       ; +0x19, 0x180011169\nsubss   xmm2, cs:dword_18002BC58                                       ; +0x1c, 0x18001116c\nmov     rsi, rcx                                                       ; +0x24, 0x180011174\nmovaps  [rsp+38h+var_18], xmm8                                         ; +0x27, 0x180011177\nlea     rdx, byte_180025968                                            ; +0x2d, 0x18001117d\nlea     rcx, byte_180025968                                            ; +0x34, 0x180011184\ncall    cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x3b, 0x18001118b\nmovss   xmm8, cs:dword_18002BBD8                                       ; +0x41, 0x180011191\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x4a, 0x18001119a\nmov     [rsi+18h], rax                                                 ; +0x4f, 0x18001119f\nmovaps  xmm2, xmm8                                                     ; +0x53, 0x1800111a3\nxorps   xmm1, xmm1                                                     ; +0x57, 0x1800111a7\nmov     rdi, rax                                                       ; +0x5a, 0x1800111aa\nmov     rbx, [rax]                                                     ; +0x5d, 0x1800111ad\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x60, 0x1800111b0\nmov     rdx, rax                                                       ; +0x66, 0x1800111b6\nmov     rcx, rdi                                                       ; +0x69, 0x1800111b9\ncall    qword ptr [rbx+120h]                                           ; +0x6c, 0x1800111bc\nmovss   xmm2, dword ptr [rbp+4]                                        ; +0x72, 0x1800111c2\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x77, 0x1800111c7\nmov     rdi, [rsi+18h]                                                 ; +0x7c, 0x1800111cc\nmovss   xmm1, cs:dword_18002BC48                                       ; +0x80, 0x1800111d0\nmulss   xmm2, xmm8                                                     ; +0x88, 0x1800111d8\nmov     rbx, [rdi]                                                     ; +0x8d, 0x1800111dd\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x90, 0x1800111e0\nmov     rdx, rax                                                       ; +0x96, 0x1800111e6\nmov     rcx, rdi                                                       ; +0x99, 0x1800111e9\ncall    qword ptr [rbx+0B8h]                                           ; +0x9c, 0x1800111ec\nmov     rcx, [rsi+18h]                                                 ; +0xa2, 0x1800111f2\nlea     rdx, [rsi+78h]                                                 ; +0xa6, 0x1800111f6\nadd     rcx, 140h                                                      ; +0xaa, 0x1800111fa\nmov     rax, [rcx]                                                     ; +0xb1, 0x180011201\ncall    qword ptr [rax]                                                ; +0xb4, 0x180011204\nmov     rcx, [rsi+10h]                                                 ; +0xb6, 0x180011206\nmov     rdx, [rsi+18h]                                                 ; +0xba, 0x18001120a\nmov     rax, [rcx]                                                     ; +0xbe, 0x18001120e\ncall    qword ptr [rax+1D0h]                                           ; +0xc1, 0x180011211\nmovss   xmm2, dword ptr [rbp+4]                                        ; +0xc7, 0x180011217\nlea     rdx, byte_180025968                                            ; +0xcc, 0x18001121c\nsubss   xmm2, cs:dword_18002BC58                                       ; +0xd3, 0x180011223\nlea     rcx, byte_180025968                                            ; +0xdb, 0x18001122b\ncall    cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0xe2, 0x180011232\nmov     [rsi+20h], rax                                                 ; +0xe8, 0x180011238\nmovaps  xmm2, xmm8                                                     ; +0xec, 0x18001123c\nxorps   xmm1, xmm1                                                     ; +0xf0, 0x180011240\nlea     rcx, [rsp+38h+arg_0]                                           ; +0xf3, 0x180011243\nmov     rdi, rax                                                       ; +0xf8, 0x180011248\nmov     rbx, [rax]                                                     ; +0xfb, 0x18001124b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xfe, 0x18001124e\nmov     rdx, rax                                                       ; +0x104, 0x180011254\nmov     rcx, rdi                                                       ; +0x107, 0x180011257\ncall    qword ptr [rbx+120h]                                           ; +0x10a, 0x18001125a\nmovss   xmm2, dword ptr [rbp+4]                                        ; +0x110, 0x180011260\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x115, 0x180011265\nmov     rdi, [rsi+20h]                                                 ; +0x11a, 0x18001126a\nmovss   xmm1, cs:dword_18002BC48                                       ; +0x11e, 0x18001126e\nmulss   xmm2, xmm8                                                     ; +0x126, 0x180011276\nmov     rbx, [rdi]                                                     ; +0x12b, 0x18001127b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x12e, 0x18001127e\nmov     rdx, rax                                                       ; +0x134, 0x180011284\nmov     rcx, rdi                                                       ; +0x137, 0x180011287\ncall    qword ptr [rbx+0B8h]                                           ; +0x13a, 0x18001128a\nmov     rcx, [rsi+20h]                                                 ; +0x140, 0x180011290\nxor     edx, edx                                                       ; +0x144, 0x180011294\nmov     rax, [rcx]                                                     ; +0x146, 0x180011296\ncall    qword ptr [rax+150h]                                           ; +0x149, 0x180011299\nmov     rcx, [rsi+20h]                                                 ; +0x14f, 0x18001129f\nlea     rdx, [rsi+7Bh]                                                 ; +0x153, 0x1800112a3\nadd     rcx, 140h                                                      ; +0x157, 0x1800112a7\nmov     rax, [rcx]                                                     ; +0x15e, 0x1800112ae\ncall    qword ptr [rax]                                                ; +0x161, 0x1800112b1\nmov     rcx, [rsi+10h]                                                 ; +0x163, 0x1800112b3\nmov     rdx, [rsi+20h]                                                 ; +0x167, 0x1800112b7\nmov     rax, [rcx]                                                     ; +0x16b, 0x1800112bb\ncall    qword ptr [rax+1D0h]                                           ; +0x16e, 0x1800112be\nlea     rcx, [rsi+84h]                                                 ; +0x174, 0x1800112c4\nmov     rdx, rbp                                                       ; +0x17b, 0x1800112cb\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x17e, 0x1800112ce\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x184, 0x1800112d4\nmov     al, 1                                                          ; +0x189, 0x1800112d9\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x18b, 0x1800112db\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x190, 0x1800112e0\nmovaps  xmm8, [rsp+38h+var_18]                                         ; +0x195, 0x1800112e5\nadd     rsp, 30h                                                       ; +0x19b, 0x1800112eb\npop     rdi                                                            ; +0x19f, 0x1800112ef\nretn                                                                   ; +0x1a0, 0x1800112f0", "xrefs": ["<???> @ 0x18002a7c8", "<???> @ 0x180032408", "<???> @ 0x18004c194"], "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"}