//
// sub_1001261B8 from 0x1001261b8 to 0x100126204 (76 bytes)
//
// 1 xrefs:
// > sub_100126094 @ 0x100126108
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1001261B8(__int64 a1, __int64 a2)
{
__int64 *v3; // x0
_DWORD *v4; // x10
v4 = *(_DWORD **)a1;
v3 = *(__int64 **)(a1 + 8);
*v4 = *(_DWORD *)a2;
if ( v3 != (__int64 *)(a2 + 8) )
sub_100017888(
v3,
*(char **)(a2 + 8),
*(char **)(a2 + 16),
(__int64)(*(_QWORD *)(a2 + 16) - *(_QWORD *)(a2 + 8)) >> 2);
return a1;
}