//
// sub_1001267E4 from 0x1001267e4 to 0x100126830 (76 bytes)
//
// 1 xrefs:
// > sub_1001266C0 @ 0x100126734
//
// 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_1001267E4(__int64 a1, __int64 a2)
{
__int64 v3; // x0
_DWORD *v4; // x10
v4 = *(_DWORD **)a1;
v3 = *(_QWORD *)(a1 + 8);
*v4 = *(_DWORD *)a2;
if ( v3 != a2 + 8 )
sub_100126830(v3, *(void **)(a2 + 8));
return a1;
}