//
// cocos2d::extension::CCEditBoxImplAndroid::initWithSize from 0xd1c0c8 to 0xd1c2b0 (488 bytes)
//
// 2 xrefs:
// > ??> @ 0x969b8
// > ??> @ 0x1510570
//
// This function is hookable on this platform (idp: arm, 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 13:07:09 +0000
//
__int64 __fastcall cocos2d::extension::CCEditBoxImplAndroid::initWithSize(
cocos2d::extension::CCEditBoxImplAndroid *this,
const cocos2d::CCSize *a2)
{
const char *v4; // x2
__int64 v5; // x24
void (__fastcall *v6)(__int64, _BYTE *); // x25
__int64 v7; // x24
void (__fastcall *v8)(__int64, _BYTE *); // x25
const char *v9; // x2
__int64 v10; // x22
void (__fastcall *v11)(__int64, _BYTE *); // x24
__int64 v12; // x22
void (__fastcall *v13)(__int64, _BYTE *); // x24
_BYTE v15[8]; // [xsp+60h] [xbp+60h] BYREF
getFontSizeAccordingHeightJni((int)(float)(*((float *)a2 + 1) - 12.0));
v5 = cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)&byte_11B8890, &byte_11B8890, v4, *((float *)a2 + 1) - 12.0);
*((_QWORD *)this + 3) = v5;
v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 0.5);
v6(v5, v15);
v7 = *((_QWORD *)this + 3);
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 5.0, *((float *)a2 + 1) * 0.5);
v8(v7, v15);
(*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 3) + 960LL))(*((_QWORD *)this + 3), (char *)this + 104);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 456LL))(
*((_QWORD *)this + 2),
*((_QWORD *)this + 3));
v10 = cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)&byte_11B8890, &byte_11B8890, v9, *((float *)a2 + 1) - 12.0);
*((_QWORD *)this + 4) = v10;
v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 0.5);
v11(v10, v15);
v12 = *((_QWORD *)this + 4);
v13 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v12 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 5.0, *((float *)a2 + 1) * 0.5);
v13(v12, v15);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 4) + 344LL))(*((_QWORD *)this + 4), 0);
(*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 4) + 960LL))(*((_QWORD *)this + 4), (char *)this + 107);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 2) + 456LL))(
*((_QWORD *)this + 2),
*((_QWORD *)this + 4));
cocos2d::CCSize::operator=((char *)this + 116, a2);
return 1;
}