{"type": "func", "start": 6442522560, "end": 6442522965, "name": "cocos2d::extension::CCEditBoxImplWin::initWithSize", "pseudocode": "// \n// cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x1800117c0 to 0x180011955 (405 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180028150\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a2a8\n// > <???> @ 0x18004a2b4\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\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  __int64 v5; // rbx\n  __int64 v6; // rax\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  struct cocos2d::CCLabelTTF *v9; // rax\n  __int64 v10; // rbx\n  __int64 v11; // rax\n  __int64 v12; // rbx\n  __int64 v13; // rax\n  char v15; // [rsp+40h] [rbp+8h] BYREF\n\n  v4 = cocos2d::CCLabelTTF::create(byte_180023460, byte_180023460, *((float *)a2 + 1) - 12.0);\n  *((_QWORD *)this + 3) = v4;\n  v5 = *(_QWORD *)v4;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 0.0, 0.5);\n  (*(void (__fastcall **)(_QWORD, __int64))(v5 + 272))(*((_QWORD *)this + 3), v6);\n  v7 = **((_QWORD **)this + 3);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 5.0, *((float *)a2 + 1) * 0.5);\n  (*(void (__fastcall **)(_QWORD, __int64))(v7 + 184))(*((_QWORD *)this + 3), v8);\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) + 448LL))(\n    *((_QWORD *)this + 2),\n    *((_QWORD *)this + 3));\n  v9 = cocos2d::CCLabelTTF::create(byte_180023460, byte_180023460, *((float *)a2 + 1) - 12.0);\n  *((_QWORD *)this + 4) = v9;\n  v10 = *(_QWORD *)v9;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 0.0, 0.5);\n  (*(void (__fastcall **)(_QWORD, __int64))(v10 + 272))(*((_QWORD *)this + 4), v11);\n  v12 = **((_QWORD **)this + 4);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 5.0, *((float *)a2 + 1) * 0.5);\n  (*(void (__fastcall **)(_QWORD, __int64))(v12 + 184))(*((_QWORD *)this + 4), v13);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 4) + 320LL))(*((_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) + 448LL))(\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 0x1800117c0 to 0x180011955 (405 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180028150\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a2a8\n; > <???> @ 0x18004a2b4\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800117c0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800117c5\npush    rdi                                                            ; +0xa, 0x1800117ca\nsub     rsp, 30h                                                       ; +0xb, 0x1800117cb\nmovss   xmm2, dword ptr [rdx+4]                                        ; +0xf, 0x1800117cf\nmov     rsi, rdx                                                       ; +0x14, 0x1800117d4\nsubss   xmm2, cs:dword_180029590                                       ; +0x17, 0x1800117d7\nmov     rdi, rcx                                                       ; +0x1f, 0x1800117df\nmovaps  [rsp+38h+var_18], xmm8                                         ; +0x22, 0x1800117e2\nlea     rdx, byte_180023460                                            ; +0x28, 0x1800117e8\nlea     rcx, byte_180023460                                            ; +0x2f, 0x1800117ef\ncall    cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x36, 0x1800117f6\nmovss   xmm8, cs:dword_180029510                                       ; +0x3c, 0x1800117fc\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x45, 0x180011805\nmov     [rdi+18h], rax                                                 ; +0x4a, 0x18001180a\nmovaps  xmm2, xmm8                                                     ; +0x4e, 0x18001180e\nxorps   xmm1, xmm1                                                     ; +0x52, 0x180011812\nmov     rbx, [rax]                                                     ; +0x55, 0x180011815\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x58, 0x180011818\nmov     rcx, [rdi+18h]                                                 ; +0x5e, 0x18001181e\nmov     rdx, rax                                                       ; +0x62, 0x180011822\ncall    qword ptr [rbx+110h]                                           ; +0x65, 0x180011825\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0x6b, 0x18001182b\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x70, 0x180011830\nmov     rax, [rdi+18h]                                                 ; +0x75, 0x180011835\nmovss   xmm1, cs:dword_180029580                                       ; +0x79, 0x180011839\nmulss   xmm2, xmm8                                                     ; +0x81, 0x180011841\nmov     rbx, [rax]                                                     ; +0x86, 0x180011846\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x89, 0x180011849\nmov     rcx, [rdi+18h]                                                 ; +0x8f, 0x18001184f\nmov     rdx, rax                                                       ; +0x93, 0x180011853\ncall    qword ptr [rbx+0B8h]                                           ; +0x96, 0x180011856\nmov     rcx, [rdi+18h]                                                 ; +0x9c, 0x18001185c\nlea     rdx, [rdi+78h]                                                 ; +0xa0, 0x180011860\nadd     rcx, 140h                                                      ; +0xa4, 0x180011864\nmov     rax, [rcx]                                                     ; +0xab, 0x18001186b\ncall    qword ptr [rax]                                                ; +0xae, 0x18001186e\nmov     rcx, [rdi+10h]                                                 ; +0xb0, 0x180011870\nmov     rdx, [rdi+18h]                                                 ; +0xb4, 0x180011874\nmov     rax, [rcx]                                                     ; +0xb8, 0x180011878\ncall    qword ptr [rax+1C0h]                                           ; +0xbb, 0x18001187b\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0xc1, 0x180011881\nlea     rdx, byte_180023460                                            ; +0xc6, 0x180011886\nsubss   xmm2, cs:dword_180029590                                       ; +0xcd, 0x18001188d\nlea     rcx, byte_180023460                                            ; +0xd5, 0x180011895\ncall    cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0xdc, 0x18001189c\nmov     [rdi+20h], rax                                                 ; +0xe2, 0x1800118a2\nmovaps  xmm2, xmm8                                                     ; +0xe6, 0x1800118a6\nxorps   xmm1, xmm1                                                     ; +0xea, 0x1800118aa\nlea     rcx, [rsp+38h+arg_0]                                           ; +0xed, 0x1800118ad\nmov     rbx, [rax]                                                     ; +0xf2, 0x1800118b2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xf5, 0x1800118b5\nmov     rcx, [rdi+20h]                                                 ; +0xfb, 0x1800118bb\nmov     rdx, rax                                                       ; +0xff, 0x1800118bf\ncall    qword ptr [rbx+110h]                                           ; +0x102, 0x1800118c2\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0x108, 0x1800118c8\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x10d, 0x1800118cd\nmov     rax, [rdi+20h]                                                 ; +0x112, 0x1800118d2\nmovss   xmm1, cs:dword_180029580                                       ; +0x116, 0x1800118d6\nmulss   xmm2, xmm8                                                     ; +0x11e, 0x1800118de\nmov     rbx, [rax]                                                     ; +0x123, 0x1800118e3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x126, 0x1800118e6\nmov     rcx, [rdi+20h]                                                 ; +0x12c, 0x1800118ec\nmov     rdx, rax                                                       ; +0x130, 0x1800118f0\ncall    qword ptr [rbx+0B8h]                                           ; +0x133, 0x1800118f3\nmov     rcx, [rdi+20h]                                                 ; +0x139, 0x1800118f9\nxor     edx, edx                                                       ; +0x13d, 0x1800118fd\nmov     rax, [rcx]                                                     ; +0x13f, 0x1800118ff\ncall    qword ptr [rax+140h]                                           ; +0x142, 0x180011902\nmov     rcx, [rdi+20h]                                                 ; +0x148, 0x180011908\nlea     rdx, [rdi+7Bh]                                                 ; +0x14c, 0x18001190c\nadd     rcx, 140h                                                      ; +0x150, 0x180011910\nmov     rax, [rcx]                                                     ; +0x157, 0x180011917\ncall    qword ptr [rax]                                                ; +0x15a, 0x18001191a\nmov     rcx, [rdi+10h]                                                 ; +0x15c, 0x18001191c\nmov     rdx, [rdi+20h]                                                 ; +0x160, 0x180011920\nmov     rax, [rcx]                                                     ; +0x164, 0x180011924\ncall    qword ptr [rax+1C0h]                                           ; +0x167, 0x180011927\nlea     rcx, [rdi+84h]                                                 ; +0x16d, 0x18001192d\nmov     rdx, rsi                                                       ; +0x174, 0x180011934\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x177, 0x180011937\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x17d, 0x18001193d\nmov     al, 1                                                          ; +0x182, 0x180011942\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x184, 0x180011944\nmovaps  xmm8, [rsp+38h+var_18]                                         ; +0x189, 0x180011949\nadd     rsp, 30h                                                       ; +0x18f, 0x18001194f\npop     rdi                                                            ; +0x193, 0x180011953\nretn                                                                   ; +0x194, 0x180011954", "xrefs": ["<???> @ 0x180028150", "<???> @ 0x18002fdf8", "<???> @ 0x18004a2a8", "<???> @ 0x18004a2b4"], "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"}