//
// cocos2d::extension::CCEditBoxImplWin::setPlaceHolder from 0x180011c30 to 0x180011ca7 (119 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800281b8
// > ??> @ 0x18002e770
// > ??> @ 0x18002e780
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a2e4
//
// 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::CCEditBoxImplWin::setPlaceHolder(void **this, char *a2)
{
_QWORD *v3; // rbx
size_t v4; // r8
__int64 v5; // rdx
if ( a2 )
{
v3 = this + 11;
v4 = -1;
do
++v4;
while ( a2[v4] );
sub_180003BC0(this + 11, a2, v4);
if ( *(this + 13) && !*(this + 9) )
{
LOBYTE(v5) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 4) + 320LL))(*(this + 4), v5);
}
if ( v3[3] > 0xFu )
v3 = (_QWORD *)*v3;
(**((void (__fastcall ***)(__int64, _QWORD *))*(this + 4) + 75))((__int64)*(this + 4) + 600, v3);
}
}