//
// GJBaseGameLayer::updateCameraMode from 0x100102410 to 0x10010248f (127 bytes)
//
// 1 xrefs:
// > CameraTriggerGameObject::triggerObject @ 0x1001bef94
//
// 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 12:21:21 +0000
//
unsigned __int8 __fastcall GJBaseGameLayer::updateCameraMode(__int64 a1, __int64 a2, unsigned __int8 a3)
{
char v3; // al
char v4; // cl
unsigned __int8 result; // al
v3 = *(_BYTE *)(a1 + 785);
v4 = *(_BYTE *)(a2 + 1748);
*(_BYTE *)(a1 + 785) = v4;
*(_BYTE *)(a1 + 786) = *(_BYTE *)(a2 + 1760);
if ( *(_BYTE *)(a2 + 1749) == 1 )
_mm_storel_ps(
(double *)(a1 + 716),
_mm_min_ps(
(__m128)0x422000003F800000uLL,
_mm_max_ps(
(__m128)0x3F80000000000000uLL,
_mm_shuffle_ps((__m128)*(unsigned __int64 *)(a2 + 1752), (__m128)*(unsigned __int64 *)(a2 + 1752), 225))));
result = v3 == v4;
if ( !(result | a3 ^ 1) )
return GJBaseGameLayer::updateDualGround(a1, *(_QWORD *)(a1 + 3256), *(_DWORD *)(a1 + 1256), 0);
return result;
}