{"type": "func", "start": 5371051088, "end": 5371051242, "name": "GJBaseGameLayer::shakeCamera", "pseudocode": "// \n// GJBaseGameLayer::shakeCamera from 0x14023bc50 to 0x14023bcea (154 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::destroyPlayer @ 0x1403b3bd3\n// > EffectGameObject::triggerObject @ 0x1404a6949\n// > <???> @ 0x1406ce2a4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJBaseGameLayer::shakeCamera(GJBaseGameLayer *a1, float a2, float a3, float a4)\n{\n  if ( a2 > 0.0 && a3 > 0.0 && !a1->m_skipCameraShake )\n  {\n    a1->m_gameState.m_unkUint64_1 = 0.0;\n    cocos2d::CCPoint::operator=(&a1->m_gameState.m_unkPoint34, &dword_1406C1D28);\n    a1->m_gameState.m_cameraShakeFactor = a2;\n    a1->m_gameState.m_unkUint16 = a4;\n    a1->m_staticCameraShake = 0;\n    a1->m_gameState.m_unkUint15 = fminf(100.0, a3);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::shakeCamera from 0x14023bc50 to 0x14023bcea (154 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::destroyPlayer @ 0x1403b3bd3\n; > EffectGameObject::triggerObject @ 0x1404a6949\n; > <???> @ 0x1406ce2a4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14023bc50\nsub     rsp, 50h                                                       ; +0x2, 0x14023bc52\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x6, 0x14023bc56\nxorps   xmm0, xmm0                                                     ; +0xb, 0x14023bc5b\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0xe, 0x14023bc5e\nmovaps  xmm6, xmm2                                                     ; +0x13, 0x14023bc63\nmovaps  xmm7, xmm1                                                     ; +0x16, 0x14023bc66\nmovaps  [rsp+58h+var_38], xmm8                                         ; +0x19, 0x14023bc69\ncomiss  xmm0, xmm7                                                     ; +0x1f, 0x14023bc6f\nmov     rbx, rcx                                                       ; +0x22, 0x14023bc72\nmovaps  xmm8, xmm3                                                     ; +0x25, 0x14023bc75\njnb     short loc_14023BCD4                                            ; +0x29, 0x14023bc79\ncomiss  xmm0, xmm6                                                     ; +0x2b, 0x14023bc7b\njnb     short loc_14023BCD4                                            ; +0x2e, 0x14023bc7e\ncmp     byte ptr [rcx+3249h], 0                                        ; +0x30, 0x14023bc80\njnz     short loc_14023BCD4                                            ; +0x37, 0x14023bc87\nmov     qword ptr [rcx+530h], 0                                        ; +0x39, 0x14023bc89\nlea     rdx, dword_1406C1D28                                           ; +0x44, 0x14023bc94\nadd     rcx, 538h                                                      ; +0x4b, 0x14023bc9b\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x52, 0x14023bca2\nmovss   xmm0, cs:dword_1406232BC                                       ; +0x58, 0x14023bca8\nminss   xmm0, xmm6                                                     ; +0x60, 0x14023bcb0\nmovss   dword ptr [rbx+520h], xmm7                                     ; +0x64, 0x14023bcb4\nmovss   dword ptr [rbx+528h], xmm8                                     ; +0x6c, 0x14023bcbc\nmov     byte ptr [rbx+3248h], 0                                        ; +0x75, 0x14023bcc5\nmovss   dword ptr [rbx+524h], xmm0                                     ; +0x7c, 0x14023bccc\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x84, 0x14023bcd4\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x89, 0x14023bcd9\nmovaps  xmm8, [rsp+58h+var_38]                                         ; +0x8e, 0x14023bcde\nadd     rsp, 50h                                                       ; +0x94, 0x14023bce4\npop     rbx                                                            ; +0x98, 0x14023bce8\nretn                                                                   ; +0x99, 0x14023bce9", "xrefs": ["PlayLayer::destroyPlayer @ 0x1403b3bd3", "EffectGameObject::triggerObject @ 0x1404a6949", "<???> @ 0x1406ce2a4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}