//
// sub_140122D20 from 0x140122d20 to 0x140122d5f (63 bytes)
//
// 5 xrefs:
// > sub_1406B03C4 @ 0x1406b043f
// > sub_1406B0479 @ 0x1406b04c1
// > ??> @ 0x140897d70
// > ??> @ 0x140897d80
// > ??> @ 0x14091670c
//
// This function is hookable on this platform (idp: pc, 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:26:57 +0000
//
__int64 __fastcall sub_140122D20(__int64 a1, __int64 a2)
{
__int64 v3; // rbx
__int64 result; // rax
if ( a1 != a2 )
{
v3 = a1 + 8;
do
{
sub_14003D310(v3 + 32);
sub_14003D310(v3);
v3 += 72;
result = v3 - 8;
}
while ( v3 - 8 != a2 );
}
return result;
}