// // cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x180011150 to 0x1800112f1 (417 bytes) // // 3 xrefs: // > @ 0x18002a7c8 // > @ 0x180032408 // > @ 0x18004c194 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:15:40 +0000 // char __fastcall cocos2d::extension::CCEditBoxImplWin::initWithSize( cocos2d::extension::CCEditBoxImplWin *this, const struct cocos2d::CCSize *a2) { struct cocos2d::CCLabelTTF *v4; // rax struct cocos2d::CCLabelTTF *v5; // rdi __int64 v6; // rbx __int64 v7; // rax __int64 *v8; // rdi __int64 v9; // rbx __int64 v10; // rax struct cocos2d::CCLabelTTF *v11; // rax struct cocos2d::CCLabelTTF *v12; // rdi __int64 v13; // rbx __int64 v14; // rax __int64 *v15; // rdi __int64 v16; // rbx __int64 v17; // rax char v19; // [rsp+40h] [rbp+8h] BYREF v4 = cocos2d::CCLabelTTF::create(byte_180025968, byte_180025968, *((float *)a2 + 1) - 12.0); *((_QWORD *)this + 3) = v4; v5 = v4; v6 = *(_QWORD *)v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelTTF *, __int64))(v6 + 288))(v5, v7); v8 = *((__int64 **)this + 3); v9 = *v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 5.0, *((float *)a2 + 1) * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v9 + 184))(v8, v10); (**(void (__fastcall ***)(__int64, char *))(*((_QWORD *)this + 3) + 320LL))( *((_QWORD *)this + 3) + 320LL, (char *)this + 120); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 464LL))( *((_QWORD *)this + 2), *((_QWORD *)this + 3)); v11 = cocos2d::CCLabelTTF::create(byte_180025968, byte_180025968, *((float *)a2 + 1) - 12.0); *((_QWORD *)this + 4) = v11; v12 = v11; v13 = *(_QWORD *)v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelTTF *, __int64))(v13 + 288))(v12, v14); v15 = *((__int64 **)this + 4); v16 = *v15; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 5.0, *((float *)a2 + 1) * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v16 + 184))(v15, v17); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 4) + 336LL))(*((_QWORD *)this + 4), 0); (**(void (__fastcall ***)(__int64, char *))(*((_QWORD *)this + 4) + 320LL))( *((_QWORD *)this + 4) + 320LL, (char *)this + 123); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 464LL))( *((_QWORD *)this + 2), *((_QWORD *)this + 4)); cocos2d::CCSize::operator=((char *)this + 132, a2); return 1; }