//
// cocos2d::extension::CCEditBoxImplAndroid::setPlaceHolder from 0xaaa4d4 to 0xaaa55c (136 bytes)
//
// 2 xrefs:
// > ??> @ 0xa8390
// > ??> @ 0x11faca8
//
// 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
//
__int64 __fastcall cocos2d::extension::CCEditBoxImplAndroid::setPlaceHolder(__int64 this, const char *a2)
{
__int64 v2; // x19
size_t v3; // x0
long double v4; // q0
if ( a2 )
{
v2 = this;
v3 = strlen(a2);
*(__n128 *)&v4 = sub_D1798C(v2 + 64, a2, v3);
if ( *(_QWORD *)(*(_QWORD *)(v2 + 64) - 24LL) )
{
if ( !*(_QWORD *)(*(_QWORD *)(v2 + 56) - 24LL) )
(*(void (__fastcall **)(_QWORD, __int64, long double))(**(_QWORD **)(v2 + 32) + 328LL))(
*(_QWORD *)(v2 + 32),
1,
v4);
}
return (*(__int64 (__fastcall **)(_QWORD, long double))(**(_QWORD **)(v2 + 32) + 1224LL))(*(_QWORD *)(v2 + 32), v4);
}
return this;
}