{"type": "func", "start": 6442603808, "end": 6442604070, "name": "cocos2d::CCOrbitCamera::update", "pseudocode": "// \n// cocos2d::CCOrbitCamera::update from 0x180025520 to 0x180025626 (262 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ed688\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9340\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:29 +0000\n// \n\nvoid __fastcall cocos2d::CCOrbitCamera::update(cocos2d::CCOrbitCamera *this, float a2)\n{\n  float v3; // xmm6_4\n  float ZEye; // xmm0_4\n  float v5; // xmm8_4\n  float v6; // xmm10_4\n  float v7; // xmm7_4\n  float v8; // xmm6_4\n  float v9; // xmm9_4\n  float v10; // xmm7_4\n  float v11; // xmm6_4\n  cocos2d::CCCamera *v12; // rax\n\n  v3 = (float)(a2 * *((float *)this + 35)) + *((float *)this + 34);\n  ZEye = cocos2d::CCCamera::getZEye();\n  v5 = (float)(a2 * *((float *)this + 41)) + *((float *)this + 40);\n  v6 = ZEye * v3;\n  v7 = (float)(a2 * *((float *)this + 43)) + *((float *)this + 42);\n  v8 = sinf(v5);\n  v9 = (float)((float)(cosf(v7) * v8) * v6) + *((float *)this + 24);\n  v10 = (float)((float)(sinf(v7) * v8) * v6) + *((float *)this + 25);\n  v11 = (float)(cosf(v5) * v6) + *((float *)this + 26);\n  v12 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 664LL))(*((_QWORD *)this + 8));\n  cocos2d::CCCamera::setEyeXYZ(v12, v9, v10, v11);\n}", "assembly": "; \n; cocos2d::CCOrbitCamera::update from 0x180025520 to 0x180025626 (262 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ed688\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9340\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:29 +0000\n; \npush    rbx                                                            ; +0x0, 0x180025520\nsub     rsp, 70h                                                       ; +0x2, 0x180025522\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x6, 0x180025526\nmov     rbx, rcx                                                       ; +0xb, 0x18002552b\nmovaps  [rsp+78h+var_28], xmm7                                         ; +0xe, 0x18002552e\nmovaps  xmm6, xmm1                                                     ; +0x13, 0x180025533\nmulss   xmm6, dword ptr [rcx+8Ch]                                      ; +0x16, 0x180025536\nmovaps  xmm7, xmm1                                                     ; +0x1e, 0x18002553e\nmovaps  [rsp+78h+var_38], xmm8                                         ; +0x21, 0x180025541\nmovaps  [rsp+78h+var_48], xmm9                                         ; +0x27, 0x180025547\naddss   xmm6, dword ptr [rcx+88h]                                      ; +0x2d, 0x18002554d\nmovaps  [rsp+78h+var_58], xmm10                                        ; +0x35, 0x180025555\ncall    ?getZEye@CCCamera@cocos2d@@SAMXZ; cocos2d::CCCamera::getZEye(void) ; +0x3b, 0x18002555b\nmovaps  xmm8, xmm7                                                     ; +0x40, 0x180025560\nmovaps  xmm10, xmm0                                                    ; +0x44, 0x180025564\nmulss   xmm8, dword ptr [rbx+0A4h]                                     ; +0x48, 0x180025568\nmulss   xmm7, dword ptr [rbx+0ACh]                                     ; +0x51, 0x180025571\naddss   xmm8, dword ptr [rbx+0A0h]                                     ; +0x59, 0x180025579\nmulss   xmm10, xmm6                                                    ; +0x62, 0x180025582\naddss   xmm7, dword ptr [rbx+0A8h]                                     ; +0x67, 0x180025587\nmovaps  xmm0, xmm8; X                                                  ; +0x6f, 0x18002558f\ncall    sinf                                                           ; +0x73, 0x180025593\nmovaps  xmm6, xmm0                                                     ; +0x78, 0x180025598\nmovaps  xmm0, xmm7; X                                                  ; +0x7b, 0x18002559b\ncall    cosf                                                           ; +0x7e, 0x18002559e\nmovaps  xmm9, xmm0                                                     ; +0x83, 0x1800255a3\nmovaps  xmm0, xmm7; X                                                  ; +0x87, 0x1800255a7\nmulss   xmm9, xmm6                                                     ; +0x8a, 0x1800255aa\nmulss   xmm9, xmm10                                                    ; +0x8f, 0x1800255af\naddss   xmm9, dword ptr [rbx+60h]                                      ; +0x94, 0x1800255b4\ncall    sinf                                                           ; +0x9a, 0x1800255ba\nmovaps  xmm7, xmm0                                                     ; +0x9f, 0x1800255bf\nmovaps  xmm0, xmm8; X                                                  ; +0xa2, 0x1800255c2\nmulss   xmm7, xmm6                                                     ; +0xa6, 0x1800255c6\nmulss   xmm7, xmm10                                                    ; +0xaa, 0x1800255ca\naddss   xmm7, dword ptr [rbx+64h]                                      ; +0xaf, 0x1800255cf\ncall    cosf                                                           ; +0xb4, 0x1800255d4\nmov     rcx, [rbx+40h]                                                 ; +0xb9, 0x1800255d9\nmovaps  xmm6, xmm0                                                     ; +0xbd, 0x1800255dd\nmulss   xmm6, xmm10                                                    ; +0xc0, 0x1800255e0\nmov     rax, [rcx]                                                     ; +0xc5, 0x1800255e5\naddss   xmm6, dword ptr [rbx+68h]                                      ; +0xc8, 0x1800255e8\ncall    qword ptr [rax+298h]                                           ; +0xcd, 0x1800255ed\nmovaps  xmm3, xmm6; float                                              ; +0xd3, 0x1800255f3\nmovaps  xmm2, xmm7; float                                              ; +0xd6, 0x1800255f6\nmov     rcx, rax; this                                                 ; +0xd9, 0x1800255f9\nmovaps  xmm1, xmm9; float                                              ; +0xdc, 0x1800255fc\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0xe0, 0x180025600\nmovaps  xmm7, [rsp+78h+var_28]                                         ; +0xe5, 0x180025605\nmovaps  xmm8, [rsp+78h+var_38]                                         ; +0xea, 0x18002560a\nmovaps  xmm9, [rsp+78h+var_48]                                         ; +0xf0, 0x180025610\nmovaps  xmm10, [rsp+78h+var_58]                                        ; +0xf6, 0x180025616\nadd     rsp, 70h                                                       ; +0xfc, 0x18002561c\npop     rbx                                                            ; +0x100, 0x180025620\njmp     ?setEyeXYZ@CCCamera@cocos2d@@QEAAXMMM@Z; cocos2d::CCCamera::setEyeXYZ(float,float,float) ; +0x101, 0x180025621", "xrefs": ["<???> @ 0x1800ed688", "<???> @ 0x18014cf68", "<???> @ 0x1801b9340"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}