// // GJBaseGameLayer::shakeCamera from 0x476f78 to 0x476ff4 (124 bytes) // // 3 xrefs: // > PlayLayer::showCompleteEffect @ 0x30fbac // > PlayLayer::destroyPlayer @ 0x31409a // > EffectGameObject::triggerObject @ 0x3ee156 // // 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 GJBaseGameLayer::shakeCamera(GJBaseGameLayer *a1, float a2, float a3, float a4) { float v7; // s16 char v8; // r3 PlayerObject *p_m_unkPoint34; // r0 v7 = a3; if ( a2 > 0.0 && a3 > 0.0 && !a1->m_skipCameraShake ) { v8 = (_BYTE)a1 + 48; a1->m_gameState.m_unkUint64_1 = 0.0; p_m_unkPoint34 = (PlayerObject *)&a1->m_gameState.m_unkPoint34; if ( a3 > 100.0 ) v7 = 100.0; cocos2d::CCPoint::operator=(p_m_unkPoint34, COERCE_FLOAT(&stru_AC68C0), SLODWORD(a3), v8); a1->m_gameState.m_cameraShakeFactor = a2; a1->m_gameState.m_unkUint16 = a4; a1->m_staticCameraShake = 0; a1->m_gameState.m_unkUint15 = v7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source