//
// GJBaseGameLayer::shakeCamera from 0x1002a015c to 0x1002a01e0 (132 bytes)
//
// 3 xrefs:
// > PlayLayer::showCompleteEffect @ 0x100143594
// > PlayLayer::destroyPlayer @ 0x100147b54
// > EffectGameObject::triggerObject @ 0x10042c524
//
// 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:02:12 +0000
//
void __fastcall GJBaseGameLayer::shakeCamera(__int64 a1, float a2, float a3, float a4)
{
__int64 v5; // x20
float v8; // s10
if ( a2 > 0.0 && a3 > 0.0 )
{
v5 = a1 + 12288;
if ( (*(_BYTE *)(a1 + 12649) & 1) == 0 )
{
if ( a3 <= 100.0 )
v8 = a3;
else
v8 = 100.0;
*(_QWORD *)(a1 + 1240) = 0;
sub_10002630C((_QWORD *)(a1 + 1248), (double *)&qword_1009F5820);
*(float *)(a1 + 1224) = a2;
*(float *)(a1 + 1232) = a4;
*(_BYTE *)(v5 + 360) = 0;
*(float *)(a1 + 1228) = v8;
}
}
}