//
// cocos2d::extension::CCEditBox::setText from 0x180010580 to 0x1800105d6 (86 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c068
//
// 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:39 +0000
//
void __fastcall cocos2d::extension::CCEditBox::setText(void **this, char *a2)
{
size_t v4; // r8
__int64 v5; // rcx
if ( a2 )
{
v4 = -1;
do
++v4;
while ( a2[v4] );
sub_1800035E0(this + 76, a2, v4);
v5 = (__int64)*(this + 72);
if ( v5 )
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 96LL))(v5, a2);
}
}