//
// sub_100223BD0 from 0x100223bd0 to 0x100223c38 (104 bytes)
//
// 2 xrefs:
// > sub_100222FC4 @ 0x100222fec
// > SetupCameraOffsetTrigger::textChanged @ 0x100223efc
//
// 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:01:09 +0000
//
__int64 __fastcall sub_100223BD0(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x8
__int64 v3; // x20
v1 = result;
v2 = *(_QWORD *)(result + 680);
if ( v2 )
{
*(_DWORD *)(v2 + 1452) = *(_DWORD *)(result + 1032);
}
else
{
result = sub_1002E757C(*(_QWORD *)(result + 688));
if ( (_DWORD)result )
{
v3 = 0;
do
{
*(_DWORD *)(sub_1002E75A0(*(_QWORD *)(v1 + 688), v3) + 1452) = *(_DWORD *)(v1 + 1032);
v3 = (unsigned int)(v3 + 1);
result = sub_1002E757C(*(_QWORD *)(v1 + 688));
}
while ( (unsigned int)v3 < (unsigned int)result );
}
}
return result;
}