{"type": "func", "start": 6443235824, "end": 6443236002, "name": "cocos2d::CCCamera::locate", "pseudocode": "// \n// cocos2d::CCCamera::locate from 0x1800bf9f0 to 0x1800bfaa2 (178 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCNode::transform @ 0x180005469\n// > cocos2d::CCNode::transform @ 0x180005487\n// > cocos2d::CCGridBase::afterDraw @ 0x180022b6b\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c32f4\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:22:24 +0000\n// \n\nvoid __fastcall cocos2d::CCCamera::locate(cocos2d::CCCamera *this)\n{\n  float *v2; // rdi\n  float v3[4]; // [rsp+20h] [rbp-48h] BYREF\n  float v4[4]; // [rsp+30h] [rbp-38h] BYREF\n  float v5[4]; // [rsp+40h] [rbp-28h] BYREF\n\n  if ( *((_BYTE *)this + 92) )\n  {\n    kmVec3Fill(v5, *((float *)this + 14), *((float *)this + 15), *((float *)this + 16));\n    kmVec3Fill(v4, *((float *)this + 17), *((float *)this + 18), *((float *)this + 19));\n    kmVec3Fill(v3, *((float *)this + 20), *((float *)this + 21), *((float *)this + 22));\n    v2 = (float *)((char *)this + 96);\n    kmMat4LookAt((__int64)this + 96, v5, (__int64)v4, (__int64)v3);\n    *((_BYTE *)this + 92) = 0;\n  }\n  else\n  {\n    v2 = (float *)((char *)this + 96);\n  }\n  kmGLMultMatrix(v2);\n}", "assembly": "; \n; cocos2d::CCCamera::locate from 0x1800bf9f0 to 0x1800bfaa2 (178 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCNode::transform @ 0x180005469\n; > cocos2d::CCNode::transform @ 0x180005487\n; > cocos2d::CCGridBase::afterDraw @ 0x180022b6b\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c32f4\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:22:24 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800bf9f0\npush    rdi                                                            ; +0x5, 0x1800bf9f5\nsub     rsp, 60h                                                       ; +0x6, 0x1800bf9f6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800bf9fa\nxor     rax, rsp                                                       ; +0x11, 0x1800bfa01\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x1800bfa04\ncmp     byte ptr [rcx+5Ch], 0                                          ; +0x19, 0x1800bfa09\nmov     rbx, rcx                                                       ; +0x1d, 0x1800bfa0d\njz      short loc_1800BFA7E                                            ; +0x20, 0x1800bfa10\nmovss   xmm3, dword ptr [rcx+40h]                                      ; +0x22, 0x1800bfa12\nmovss   xmm2, dword ptr [rcx+3Ch]                                      ; +0x27, 0x1800bfa17\nmovss   xmm1, dword ptr [rcx+38h]                                      ; +0x2c, 0x1800bfa1c\nlea     rcx, [rsp+68h+var_28]                                          ; +0x31, 0x1800bfa21\ncall    kmVec3Fill                                                     ; +0x36, 0x1800bfa26\nmovss   xmm3, dword ptr [rbx+4Ch]                                      ; +0x3b, 0x1800bfa2b\nlea     rcx, [rsp+68h+var_38]                                          ; +0x40, 0x1800bfa30\nmovss   xmm2, dword ptr [rbx+48h]                                      ; +0x45, 0x1800bfa35\nmovss   xmm1, dword ptr [rbx+44h]                                      ; +0x4a, 0x1800bfa3a\ncall    kmVec3Fill                                                     ; +0x4f, 0x1800bfa3f\nmovss   xmm3, dword ptr [rbx+58h]                                      ; +0x54, 0x1800bfa44\nlea     rcx, [rsp+68h+var_48]                                          ; +0x59, 0x1800bfa49\nmovss   xmm2, dword ptr [rbx+54h]                                      ; +0x5e, 0x1800bfa4e\nmovss   xmm1, dword ptr [rbx+50h]                                      ; +0x63, 0x1800bfa53\ncall    kmVec3Fill                                                     ; +0x68, 0x1800bfa58\nlea     rdi, [rbx+60h]                                                 ; +0x6d, 0x1800bfa5d\nmov     rcx, rdi                                                       ; +0x71, 0x1800bfa61\nlea     r9, [rsp+68h+var_48]                                           ; +0x74, 0x1800bfa64\nlea     r8, [rsp+68h+var_38]                                           ; +0x79, 0x1800bfa69\nlea     rdx, [rsp+68h+var_28]                                          ; +0x7e, 0x1800bfa6e\ncall    kmMat4LookAt                                                   ; +0x83, 0x1800bfa73\nmov     byte ptr [rbx+5Ch], 0                                          ; +0x88, 0x1800bfa78\njmp     short loc_1800BFA82                                            ; +0x8c, 0x1800bfa7c\nlea     rdi, [rcx+60h]                                                 ; +0x8e, 0x1800bfa7e\nmov     rcx, rdi                                                       ; +0x92, 0x1800bfa82\ncall    kmGLMultMatrix                                                 ; +0x95, 0x1800bfa85\nmov     rcx, [rsp+68h+var_18]                                          ; +0x9a, 0x1800bfa8a\nxor     rcx, rsp; StackCookie                                          ; +0x9f, 0x1800bfa8f\ncall    __security_check_cookie                                        ; +0xa2, 0x1800bfa92\nmov     rbx, [rsp+68h+arg_8]                                           ; +0xa7, 0x1800bfa97\nadd     rsp, 60h                                                       ; +0xac, 0x1800bfa9c\npop     rdi                                                            ; +0xb0, 0x1800bfaa0\nretn                                                                   ; +0xb1, 0x1800bfaa1", "xrefs": ["cocos2d::CCNode::transform @ 0x180005469", "cocos2d::CCNode::transform @ 0x180005487", "cocos2d::CCGridBase::afterDraw @ 0x180022b6b", "<???> @ 0x18014cf68", "<???> @ 0x1801c32f4"], "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"}