//
// cocos2d::extension::CCEditBox::setPlaceholderFontSize from 0x1004a3870 to 0x1004a38c5 (85 bytes)
//
// 0 xrefs:
//
// 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:30:53 +0000
//
__int64 __fastcall cocos2d::extension::CCEditBox::setPlaceholderFontSize(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v3; // rdi
char v4; // cl
__int64 v5; // rsi
result = a1;
*(_DWORD *)(a1 + 708) = a2;
v3 = *(_QWORD *)(a1 + 576);
if ( v3 )
{
v4 = *(_BYTE *)(result + 680);
if ( (v4 & 1) != 0 )
{
if ( !*(_QWORD *)(result + 688) )
return result;
v5 = *(_QWORD *)(result + 696);
}
else
{
if ( !v4 )
return result;
v5 = result + 681;
}
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v3 + 40LL))(
v3,
v5,
*(unsigned int *)(result + 704));
}
return result;
}