//
// sub_14035BF50 from 0x14035bf50 to 0x14035bfc3 (115 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x140321fe5
// > sub_140353CE0 @ 0x140353cf5
// > sub_14035A540 @ 0x14035a71f
// > sub_14035A540 @ 0x14035a75a
// > sub_14035C7E0 @ 0x14035c86a
// > sub_14035CFF0 @ 0x14035d008
// > sub_14035E220 @ 0x14035e227
// > ??> @ 0x1408b9d5c
// > ??> @ 0x1408b9d6c
// > ??> @ 0x140920e58
//
// 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:30:51 +0000
//
__int64 __fastcall sub_14035BF50(__int64 a1, __int64 a2)
{
__int64 v3; // rbx
__int64 result; // rax
if ( a1 != a2 )
{
v3 = a1 + 136;
do
{
sub_14003EA90((_QWORD *)(v3 + 16));
sub_14003EB00((void **)v3);
sub_14003EA90((_QWORD *)(v3 - 48));
sub_14003EB00((void **)(v3 - 64));
sub_14003EA90((_QWORD *)(v3 - 112));
sub_14003EB00((void **)(v3 - 128));
v3 += 200;
result = v3 - 136;
}
while ( v3 - 136 != a2 );
}
return result;
}