//
// GameObject::addToTempOffset from 0x1002f8220 to 0x1002f8244 (36 bytes)
//
// 3 xrefs:
// > sub_100145348 @ 0x1001453d4
// > PlayerObject::rotateGameplayObject @ 0x1002bd22c
// > PlayerObject::unrotateGameplayObject @ 0x1002bfdc0
//
// 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:03:00 +0000
//
double __fastcall GameObject::addToTempOffset(__int64 a1, double a2, double a3)
{
double result; // d0
if ( (*(_BYTE *)(a1 + 708) & 1) == 0 )
*(double *)(a1 + 944) = *(double *)(a1 + 944) + a2;
result = *(double *)(a1 + 952) + a3;
*(double *)(a1 + 952) = result;
return result;
}