//
// cocos2d::extension::CCEditBox::setPlaceholderFontSize from 0x1004aa9d0 to 0x1004aaa25 (85 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::extension::CCEditBox::setPlaceholderFontSize(cocos2d::extension::CCEditBox *a1, int a2)
{
__int64 v3; // rdi
char m_pGrid; // cl
cocos2d::CCNode *m_pParent; // rsi
HIDWORD(a1[1].m_pUserData) = a2;
v3 = *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y;
if ( v3 )
{
m_pGrid = (char)a1[1].m_pGrid;
if ( (m_pGrid & 1) != 0 )
{
if ( !a1[1].m_pChildren )
return;
m_pParent = a1[1].m_pParent;
}
else
{
if ( !m_pGrid )
return;
m_pParent = (cocos2d::extension::CCEditBox *)((char *)a1 + 681);
}
(*(void (__fastcall **)(__int64, cocos2d::CCNode *, _QWORD))(*(_QWORD *)v3 + 40LL))(
v3,
m_pParent,
LODWORD(a1[1].m_pUserData));
}
}