//
// cocos2d::extension::CCEditBoxImplWin::setPlaceHolder from 0x1800115f0 to 0x18001166b (123 bytes)
//
// 5 xrefs:
// > ??> @ 0x18002a830
// > ??> @ 0x180030c58
// > ??> @ 0x180030c68
// > ??> @ 0x180032408
// > ??> @ 0x18004c1c4
//
// 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:15:40 +0000
//
void __fastcall cocos2d::extension::CCEditBoxImplWin::setPlaceHolder(void **this, char *a2)
{
size_t v3; // r8
_QWORD *v4; // rbx
__int64 v5; // rdx
if ( a2 )
{
v3 = -1;
do
++v3;
while ( a2[v3] );
v4 = this + 11;
sub_1800035E0(this + 11, a2, v3);
if ( *(this + 13) && !*(this + 9) )
{
LOBYTE(v5) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 4) + 336LL))(*(this + 4), v5);
}
if ( v4[3] > 0xFu )
v4 = (_QWORD *)*v4;
(**((void (__fastcall ***)(__int64, _QWORD *))*(this + 4) + 75))((__int64)*(this + 4) + 600, v4);
}
}