//
// cocos2d::extension::CCEditBox::setPlaceholderFontSize from 0x7b0abc to 0x7b0b00 (68 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:06 +0000
//
int __fastcall cocos2d::extension::CCEditBox::setPlaceholderFontSize(cocos2d::extension::CCEditBox *this, int a2)
{
int result; // r0
unsigned int v4; // r2
char *v5; // r1
int (__fastcall *v6)(int, char *, _DWORD); // r4
*((_DWORD *)this + 124) = a2;
result = *((_DWORD *)this + 106);
if ( result )
{
v4 = *((unsigned __int8 *)this + 480);
if ( (v4 & 1) != 0 )
{
if ( !*((_DWORD *)this + 121) )
return result;
v5 = *((char **)this + 122);
v6 = *(int (__fastcall **)(int, char *, _DWORD))(*(_DWORD *)result + 20);
return v6(result, v5, *((_DWORD *)this + 123));
}
if ( v4 >> 1 )
{
v5 = (char *)this + 481;
v6 = *(int (__fastcall **)(int, char *, _DWORD))(*(_DWORD *)result + 20);
return v6(result, v5, *((_DWORD *)this + 123));
}
}
return result;
}