{"type": "func", "start": 6442602176, "end": 6442602388, "name": "cocos2d::CCOrbitCamera::startWithTarget", "pseudocode": "// \n// cocos2d::CCOrbitCamera::startWithTarget from 0x180024ec0 to 0x180024f94 (212 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e7650\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af250\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::startWithTarget(cocos2d::CCOrbitCamera *this, struct cocos2d::CCNode *a2)\n{\n  float v3; // [rsp+30h] [rbp+8h] BYREF\n  float v4; // [rsp+40h] [rbp+18h] BYREF\n  float v5; // [rsp+48h] [rbp+20h] BYREF\n\n  cocos2d::CCActionInterval::startWithTarget(this, a2);\n  cocos2d::CCOrbitCamera::sphericalRadius(this, &v3, &v4, &v5);\n  if ( isnan(*((float *)this + 34)) )\n    *((float *)this + 34) = v3;\n  if ( isnan(*((float *)this + 36)) )\n    *((float *)this + 36) = v4 * 57.29578;\n  if ( isnan(*((float *)this + 38)) )\n    *((float *)this + 38) = v5 * 57.29578;\n  *((float *)this + 40) = *((float *)this + 36) * 0.017453292;\n  *((float *)this + 42) = *((float *)this + 38) * 0.017453292;\n}", "assembly": "; \n; cocos2d::CCOrbitCamera::startWithTarget from 0x180024ec0 to 0x180024f94 (212 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e7650\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af250\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, 0x180024ec0\nsub     rsp, 20h                                                       ; +0x2, 0x180024ec2\nmov     rbx, rcx                                                       ; +0x6, 0x180024ec6\ncall    ?startWithTarget@CCActionInterval@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCActionInterval::startWithTarget(cocos2d::CCNode *) ; +0x9, 0x180024ec9\nlea     r9, [rsp+28h+arg_18]; float *                                  ; +0xe, 0x180024ece\nmov     rcx, rbx; this                                                 ; +0x13, 0x180024ed3\nlea     r8, [rsp+28h+arg_10]; float *                                  ; +0x16, 0x180024ed6\nlea     rdx, [rsp+28h+arg_0]; float *                                  ; +0x1b, 0x180024edb\ncall    ?sphericalRadius@CCOrbitCamera@cocos2d@@QEAAXPEAM00@Z; cocos2d::CCOrbitCamera::sphericalRadius(float *,float *,float *) ; +0x20, 0x180024ee0\nmovss   xmm0, dword ptr [rbx+88h]                                      ; +0x25, 0x180024ee5\ncvtps2pd xmm0, xmm0; X                                                 ; +0x2d, 0x180024eed\ncall    cs:_isnan                                                      ; +0x30, 0x180024ef0\ntest    eax, eax                                                       ; +0x36, 0x180024ef6\njz      short loc_180024F08                                            ; +0x38, 0x180024ef8\nmovss   xmm0, [rsp+28h+arg_0]                                          ; +0x3a, 0x180024efa\nmovss   dword ptr [rbx+88h], xmm0                                      ; +0x40, 0x180024f00\nmovss   xmm0, dword ptr [rbx+90h]                                      ; +0x48, 0x180024f08\ncvtps2pd xmm0, xmm0; X                                                 ; +0x50, 0x180024f10\ncall    cs:_isnan                                                      ; +0x53, 0x180024f13\ntest    eax, eax                                                       ; +0x59, 0x180024f19\njz      short loc_180024F33                                            ; +0x5b, 0x180024f1b\nmovss   xmm0, [rsp+28h+arg_10]                                         ; +0x5d, 0x180024f1d\nmulss   xmm0, cs:dword_1800E7674                                       ; +0x63, 0x180024f23\nmovss   dword ptr [rbx+90h], xmm0                                      ; +0x6b, 0x180024f2b\nmovss   xmm0, dword ptr [rbx+98h]                                      ; +0x73, 0x180024f33\ncvtps2pd xmm0, xmm0; X                                                 ; +0x7b, 0x180024f3b\ncall    cs:_isnan                                                      ; +0x7e, 0x180024f3e\ntest    eax, eax                                                       ; +0x84, 0x180024f44\njz      short loc_180024F5E                                            ; +0x86, 0x180024f46\nmovss   xmm0, [rsp+28h+arg_18]                                         ; +0x88, 0x180024f48\nmulss   xmm0, cs:dword_1800E7674                                       ; +0x8e, 0x180024f4e\nmovss   dword ptr [rbx+98h], xmm0                                      ; +0x96, 0x180024f56\nmovss   xmm0, dword ptr [rbx+90h]                                      ; +0x9e, 0x180024f5e\nmulss   xmm0, cs:dword_1800E61A4                                       ; +0xa6, 0x180024f66\nmovss   dword ptr [rbx+0A0h], xmm0                                     ; +0xae, 0x180024f6e\nmovss   xmm0, dword ptr [rbx+98h]                                      ; +0xb6, 0x180024f76\nmulss   xmm0, cs:dword_1800E61A4                                       ; +0xbe, 0x180024f7e\nmovss   dword ptr [rbx+0A8h], xmm0                                     ; +0xc6, 0x180024f86\nadd     rsp, 20h                                                       ; +0xce, 0x180024f8e\npop     rbx                                                            ; +0xd2, 0x180024f92\nretn                                                                   ; +0xd3, 0x180024f93", "xrefs": ["<???> @ 0x1800e7650", "<???> @ 0x1801438a8", "<???> @ 0x1801af250"], "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"}