{"type": "func", "start": 6442602400, "end": 6442602668, "name": "cocos2d::CCOrbitCamera::update", "pseudocode": "// \n// cocos2d::CCOrbitCamera::update from 0x180024fa0 to 0x1800250ac (268 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e7620\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af25c\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 __fastcall cocos2d::CCOrbitCamera::update(cocos2d::CCOrbitCamera *this, float a2)\n{\n  float ZEye; // xmm0_4\n  float v4; // xmm6_4\n  float v5; // xmm8_4\n  float v6; // xmm10_4\n  float v7; // xmm0_4\n  float v8; // xmm9_4\n  float v9; // xmm0_4\n  float v10; // xmm7_4\n  float v11; // xmm6_4\n  cocos2d::CCCamera *v12; // rax\n\n  ZEye = cocos2d::CCCamera::getZEye();\n  v4 = (float)(a2 * *((float *)this + 43)) + *((float *)this + 42);\n  v5 = (float)(a2 * *((float *)this + 41)) + *((float *)this + 40);\n  v6 = ZEye * (float)((float)(a2 * *((float *)this + 35)) + *((float *)this + 34));\n  v7 = cosf(v4);\n  v8 = (float)((float)(v7 * sinf(v5)) * v6) + *((float *)this + 24);\n  v9 = sinf(v4);\n  v10 = (float)((float)(v9 * sinf(v5)) * v6) + *((float *)this + 25);\n  v11 = (float)(cosf(v5) * v6) + *((float *)this + 26);\n  v12 = (cocos2d::CCCamera *)((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getCamera)(this->m_pTarget);\n  cocos2d::CCCamera::setEyeXYZ(v12, v8, v10, v11);\n}", "assembly": "; \n; cocos2d::CCOrbitCamera::update from 0x180024fa0 to 0x1800250ac (268 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e7620\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af25c\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, 0x180024fa0\nsub     rsp, 70h                                                       ; +0x2, 0x180024fa2\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x6, 0x180024fa6\nmov     rbx, rcx                                                       ; +0xb, 0x180024fab\nmovaps  [rsp+78h+var_28], xmm7                                         ; +0xe, 0x180024fae\nmovaps  xmm6, xmm1                                                     ; +0x13, 0x180024fb3\nmovaps  [rsp+78h+var_38], xmm8                                         ; +0x16, 0x180024fb6\nmovaps  [rsp+78h+var_48], xmm9                                         ; +0x1c, 0x180024fbc\nmovaps  [rsp+78h+var_58], xmm10                                        ; +0x22, 0x180024fc2\ncall    ?getZEye@CCCamera@cocos2d@@SAMXZ; cocos2d::CCCamera::getZEye(void) ; +0x28, 0x180024fc8\nmovaps  xmm1, xmm6                                                     ; +0x2d, 0x180024fcd\nmovaps  xmm8, xmm6                                                     ; +0x30, 0x180024fd0\nmulss   xmm6, dword ptr [rbx+0ACh]                                     ; +0x34, 0x180024fd4\nmovaps  xmm10, xmm0                                                    ; +0x3c, 0x180024fdc\nmulss   xmm1, dword ptr [rbx+8Ch]                                      ; +0x40, 0x180024fe0\naddss   xmm6, dword ptr [rbx+0A8h]                                     ; +0x48, 0x180024fe8\nmulss   xmm8, dword ptr [rbx+0A4h]                                     ; +0x50, 0x180024ff0\naddss   xmm1, dword ptr [rbx+88h]                                      ; +0x59, 0x180024ff9\naddss   xmm8, dword ptr [rbx+0A0h]                                     ; +0x61, 0x180025001\nmovaps  xmm0, xmm6; X                                                  ; +0x6a, 0x18002500a\nmulss   xmm10, xmm1                                                    ; +0x6d, 0x18002500d\ncall    cosf                                                           ; +0x72, 0x180025012\nmovaps  xmm9, xmm0                                                     ; +0x77, 0x180025017\nmovaps  xmm0, xmm8; X                                                  ; +0x7b, 0x18002501b\ncall    sinf                                                           ; +0x7f, 0x18002501f\nmulss   xmm9, xmm0                                                     ; +0x84, 0x180025024\nmovaps  xmm0, xmm6; X                                                  ; +0x89, 0x180025029\nmulss   xmm9, xmm10                                                    ; +0x8c, 0x18002502c\naddss   xmm9, dword ptr [rbx+60h]                                      ; +0x91, 0x180025031\ncall    sinf                                                           ; +0x97, 0x180025037\nmovaps  xmm7, xmm0                                                     ; +0x9c, 0x18002503c\nmovaps  xmm0, xmm8; X                                                  ; +0x9f, 0x18002503f\ncall    sinf                                                           ; +0xa3, 0x180025043\nmulss   xmm7, xmm0                                                     ; +0xa8, 0x180025048\nmovaps  xmm0, xmm8; X                                                  ; +0xac, 0x18002504c\nmulss   xmm7, xmm10                                                    ; +0xb0, 0x180025050\naddss   xmm7, dword ptr [rbx+64h]                                      ; +0xb5, 0x180025055\ncall    cosf                                                           ; +0xba, 0x18002505a\nmov     rcx, [rbx+40h]                                                 ; +0xbf, 0x18002505f\nmovaps  xmm6, xmm0                                                     ; +0xc3, 0x180025063\nmulss   xmm6, xmm10                                                    ; +0xc6, 0x180025066\nmov     rax, [rcx]                                                     ; +0xcb, 0x18002506b\naddss   xmm6, dword ptr [rbx+68h]                                      ; +0xce, 0x18002506e\ncall    qword ptr [rax+288h]                                           ; +0xd3, 0x180025073\nmovaps  xmm3, xmm6; float                                              ; +0xd9, 0x180025079\nmovaps  xmm2, xmm7; float                                              ; +0xdc, 0x18002507c\nmov     rcx, rax; this                                                 ; +0xdf, 0x18002507f\nmovaps  xmm1, xmm9; float                                              ; +0xe2, 0x180025082\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0xe6, 0x180025086\nmovaps  xmm7, [rsp+78h+var_28]                                         ; +0xeb, 0x18002508b\nmovaps  xmm8, [rsp+78h+var_38]                                         ; +0xf0, 0x180025090\nmovaps  xmm9, [rsp+78h+var_48]                                         ; +0xf6, 0x180025096\nmovaps  xmm10, [rsp+78h+var_58]                                        ; +0xfc, 0x18002509c\nadd     rsp, 70h                                                       ; +0x102, 0x1800250a2\npop     rbx                                                            ; +0x106, 0x1800250a6\njmp     ?setEyeXYZ@CCCamera@cocos2d@@QEAAXMMM@Z; cocos2d::CCCamera::setEyeXYZ(float,float,float) ; +0x107, 0x1800250a7", "xrefs": ["<???> @ 0x1800e7620", "<???> @ 0x1801438a8", "<???> @ 0x1801af25c"], "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"}