//
// GJBaseGameLayer::shakeCamera from 0x596520 to 0x596594 (116 bytes)
//
// 3 xrefs:
// > PlayLayer::showCompleteEffect @ 0x40356c
// > PlayLayer::destroyPlayer @ 0x405b4a
// > EffectGameObject::triggerObject @ 0x4f502a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:09 +0000
//
int __fastcall GJBaseGameLayer::shakeCamera(int this, float a2, float a3, float a4)
{
int v4; // r4
float v7; // s16
int v8; // r0
v4 = this;
v7 = a3;
if ( a2 > 0.0 && a3 > 0.0 && !*(_BYTE *)(this + 10865) )
{
*(_QWORD *)(this + 1032) = 0;
v8 = this + 1040;
if ( a3 > 100.0 )
v7 = 100.0;
this = cocos2d::CCPoint::operator=(v8, &unk_D2C400);
*(float *)(v4 + 1016) = a2;
*(float *)(v4 + 1024) = a4;
*(_BYTE *)(v4 + 10864) = 0;
*(float *)(v4 + 1020) = v7;
}
return this;
}