//
// SetupCameraEdgePopup::textChanged from 0x1002d7bd0 to 0x1002d7c48 (120 bytes)
//
// 2 xrefs:
// > sub_1002D7C48 @ 0x1002d7c4c
// > ??> @ 0x100920fc8
//
// 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:02:41 +0000
//
void __fastcall SetupCameraEdgePopup::textChanged(__int64 a1, __int64 a2)
{
char *v3; // x20
char *v4[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( (*(_BYTE *)(a1 + 744) & 1) == 0 )
{
CCTextInputNode::getString(a2, v4);
if ( v5 < 0 )
{
v3 = v4[0];
*(_DWORD *)(a1 + 1024) = atoi(v4[0]);
operator delete(v3);
}
else
{
*(_DWORD *)(a1 + 1024) = atoi((const char *)v4);
}
sub_1002D7B4C(a1);
sub_1001AD6E0(a1);
}
}