//
// cocos2d::extension::CCEditBox::setPlaceholderFontSize from 0xd1b8c0 to 0xd1b920 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0xf6e50
//
// 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::CCEditBox::setPlaceholderFontSize(__int64 this, int a2)
{
__int64 v2; // x3
int v3; // w1
v2 = *(_QWORD *)(this + 576);
*(_DWORD *)(this + 708) = a2;
if ( v2 )
{
v3 = *(unsigned __int8 *)(this + 680);
if ( (v3 & 1) != 0 )
{
if ( *(_QWORD *)(this + 688) )
return (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v2 + 40LL))(
v2,
*(_QWORD *)(this + 696),
*(unsigned int *)(this + 704));
}
else if ( v3 >> 1 )
{
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v2 + 40LL))(
v2,
this + 681,
*(unsigned int *)(this + 704));
}
}
return this;
}