//
// sub_10046D64C from 0x10046d64c to 0x10046d6c0 (116 bytes)
//
// 2 xrefs:
// > sub_10046CBBC @ 0x10046d45c
// > sub_10046D570 @ 0x10046d5b8
//
// This function is hookable on this platform (idp: arm, 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 11:05:35 +0000
//
void __fastcall sub_10046D64C(__int64 a1)
{
void *v2; // x0
char *CString; // x0
_QWORD *v4; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
*(_BYTE *)(a1 + 744) = 1;
v2 = sub_1003065B0("%i", *(_DWORD *)(a1 + 1036));
CString = (char *)cocos2d::CCString::getCString((__int64)v2);
v4 = *(_QWORD **)(a1 + 1024);
sub_100009900(__p, CString);
CCTextInputNode::setString(v4, (__int64 *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
*(_BYTE *)(a1 + 744) = 0;
}