//
// GJBaseGameLayer::shakeCamera from 0x10015af20 to 0x10015afbb (155 bytes)
//
// 3 xrefs:
// > PlayLayer::showCompleteEffect @ 0x1000b452b
// > PlayLayer::destroyPlayer @ 0x1000b9fbc
// > EffectGameObject::triggerObject @ 0x1001b9f18
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::shakeCamera(GJBaseGameLayer *a1, float a2, float a3, float a4)
{
if ( a2 > 0.0 && a3 > 0.0 && !a1->m_skipCameraShake )
{
a1->m_gameState.m_unkUint64_1 = 0.0;
sub_10028CC90();
a1->m_gameState.m_cameraShakeFactor = a2;
a1->m_gameState.m_unkUint16 = a4;
a1->m_staticCameraShake = 0;
a1->m_gameState.m_unkUint15 = fminf(100.0, a3);
}
}