{"type": "func", "start": 6443232416, "end": 6443232583, "name": "kmVec3TransformCoord", "pseudocode": "// \n// kmVec3TransformCoord from 0x1800beca0 to 0x1800bed47 (167 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCDirector::convertToGL @ 0x1800c1a7b\n// > cocos2d::CCDirector::convertToUI @ 0x1800c1b50\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3198\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\nfloat *__fastcall kmVec3TransformCoord(float *a1, int a2, __int64 a3, int a4)\n{\n  float v6; // xmm2_4\n  float v8; // xmm1_4\n  float v9; // xmm0_4\n  float v10[3]; // [rsp+30h] [rbp-38h] BYREF\n  float v11; // [rsp+3Ch] [rbp-2Ch]\n  _BYTE v12[16]; // [rsp+40h] [rbp-28h] BYREF\n\n  kmVec4Fill((unsigned int)v12, a2, a3, a4, 1065353216);\n  kmVec4Transform(v10, v12, a3);\n  v6 = v11;\n  v8 = v10[2] / v11;\n  *a1 = v10[0] / v11;\n  v9 = v10[1] / v6;\n  a1[2] = v8;\n  a1[1] = v9;\n  return a1;\n}", "assembly": "; \n; kmVec3TransformCoord from 0x1800beca0 to 0x1800bed47 (167 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCDirector::convertToGL @ 0x1800c1a7b\n; > cocos2d::CCDirector::convertToUI @ 0x1800c1b50\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3198\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_18], rbx                                              ; +0x0, 0x1800beca0\npush    rdi                                                            ; +0x5, 0x1800beca5\nsub     rsp, 60h                                                       ; +0x6, 0x1800beca6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800becaa\nxor     rax, rsp                                                       ; +0x11, 0x1800becb1\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x1800becb4\nmovss   xmm0, cs:flt_1800EC208                                         ; +0x19, 0x1800becb9\nmov     rdi, rcx                                                       ; +0x21, 0x1800becc1\nmovss   xmm3, dword ptr [rdx+8]                                        ; +0x24, 0x1800becc4\nlea     rcx, [rsp+68h+var_28]                                          ; +0x29, 0x1800becc9\nmovss   xmm2, dword ptr [rdx+4]                                        ; +0x2e, 0x1800becce\nmov     rbx, r8                                                        ; +0x33, 0x1800becd3\nmovss   xmm1, dword ptr [rdx]                                          ; +0x36, 0x1800becd6\nmovss   [rsp+68h+var_48], xmm0                                         ; +0x3a, 0x1800becda\ncall    kmVec4Fill                                                     ; +0x40, 0x1800bece0\nmov     r8, rbx                                                        ; +0x45, 0x1800bece5\nlea     rdx, [rsp+68h+var_28]                                          ; +0x48, 0x1800bece8\nlea     rcx, [rsp+68h+var_38]                                          ; +0x4d, 0x1800beced\ncall    kmVec4Transform                                                ; +0x52, 0x1800becf2\nmovss   xmm2, [rsp+68h+var_2C]                                         ; +0x57, 0x1800becf7\nmov     rax, rdi                                                       ; +0x5d, 0x1800becfd\nmovss   xmm0, [rsp+68h+var_38]                                         ; +0x60, 0x1800bed00\nmovss   xmm1, [rsp+68h+var_30]                                         ; +0x66, 0x1800bed06\ndivss   xmm0, xmm2                                                     ; +0x6c, 0x1800bed0c\ndivss   xmm1, xmm2                                                     ; +0x70, 0x1800bed10\nmovss   dword ptr [rdi], xmm0                                          ; +0x74, 0x1800bed14\nmovss   xmm0, [rsp+68h+var_34]                                         ; +0x78, 0x1800bed18\ndivss   xmm0, xmm2                                                     ; +0x7e, 0x1800bed1e\nmovss   dword ptr [rdi+8], xmm1                                        ; +0x82, 0x1800bed22\nmovss   dword ptr [rdi+4], xmm0                                        ; +0x87, 0x1800bed27\nmov     rcx, [rsp+68h+var_18]                                          ; +0x8c, 0x1800bed2c\nxor     rcx, rsp; StackCookie                                          ; +0x91, 0x1800bed31\ncall    __security_check_cookie                                        ; +0x94, 0x1800bed34\nmov     rbx, [rsp+68h+arg_18]                                          ; +0x99, 0x1800bed39\nadd     rsp, 60h                                                       ; +0xa1, 0x1800bed41\npop     rdi                                                            ; +0xa5, 0x1800bed45\nretn                                                                   ; +0xa6, 0x1800bed46", "xrefs": ["cocos2d::CCDirector::convertToGL @ 0x1800c1a7b", "cocos2d::CCDirector::convertToUI @ 0x1800c1b50", "<???> @ 0x18014cf68", "<???> @ 0x1801c3198"], "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"}