//
// sub_100455BF0 from 0x100455bf0 to 0x100455c58 (104 bytes)
//
// 1 xrefs:
// > sub_100455950 @ 0x100455a9c
//
// 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:23 +0000
//
_QWORD *__fastcall sub_100455BF0(_QWORD *result, _QWORD *a2, __int64 a3)
{
_QWORD *v5; // x19
char *v6; // x1
__int64 v7; // x8
__int64 v8; // x9
v5 = result;
v6 = (char *)*result;
if ( *result )
{
if ( *a2 < (unsigned __int64)v6 )
sub_1007559F4();
result = memmove(&v6[-result[1]], v6, *a2 - (_QWORD)v6);
}
v7 = *a2 + a3;
*a2 = v7;
v8 = v5[1] + a3;
*v5 = v7;
v5[1] = v8;
return result;
}