{"type": "func", "start": 6443235136, "end": 6443235302, "name": "sub_1800BF740", "pseudocode": "// \n// sub_1800BF740 from 0x1800bf740 to 0x1800bf7e6 (166 bytes)\n// \n// 10 xrefs:\n// > kmGLGetMatrix @ 0x1800bf46f\n// > kmGLLoadIdentity @ 0x1800bf4e4\n// > kmGLLoadMatrix @ 0x1800bf509\n// > kmGLMatrixMode @ 0x1800bf538\n// > kmGLMultMatrix @ 0x1800bf599\n// > kmGLPushMatrix @ 0x1800bf5e3\n// > <???> @ 0x18014adfc\n// > <???> @ 0x18014ae0c\n// > <???> @ 0x1801c3294\n// > <???> @ 0x1801c32a0\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\n__int64 sub_1800BF740()\n{\n  __int64 result; // rax\n  _OWORD v1[4]; // [rsp+20h] [rbp-58h] BYREF\n\n  if ( !byte_1801B3B88 )\n  {\n    sub_1800BF310(&unk_1801B6D60);\n    sub_1800BF310(&unk_1801B6D40);\n    sub_1800BF310(&unk_1801B6D20);\n    qword_1801B3B80 = (__int64)&unk_1801B6D60;\n    byte_1801B3B88 = 1;\n    kmMat4Identity((__int64)v1);\n    sub_1800BF360((unsigned int *)&unk_1801B6D60, v1);\n    sub_1800BF360((unsigned int *)&unk_1801B6D40, v1);\n    return sub_1800BF360((unsigned int *)&unk_1801B6D20, v1);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800BF740 from 0x1800bf740 to 0x1800bf7e6 (166 bytes)\n; \n; 10 xrefs:\n; > kmGLGetMatrix @ 0x1800bf46f\n; > kmGLLoadIdentity @ 0x1800bf4e4\n; > kmGLLoadMatrix @ 0x1800bf509\n; > kmGLMatrixMode @ 0x1800bf538\n; > kmGLMultMatrix @ 0x1800bf599\n; > kmGLPushMatrix @ 0x1800bf5e3\n; > <???> @ 0x18014adfc\n; > <???> @ 0x18014ae0c\n; > <???> @ 0x1801c3294\n; > <???> @ 0x1801c32a0\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; \nsub     rsp, 78h                                                       ; +0x0, 0x1800bf740\nmov     rax, cs:__security_cookie                                      ; +0x4, 0x1800bf744\nxor     rax, rsp                                                       ; +0xb, 0x1800bf74b\nmov     [rsp+78h+var_18], rax                                          ; +0xe, 0x1800bf74e\ncmp     cs:byte_1801B3B88, 0                                           ; +0x13, 0x1800bf753\njnz     short loc_1800BF7D4                                            ; +0x1a, 0x1800bf75a\nmov     [rsp+78h+var_8], rbx                                           ; +0x1c, 0x1800bf75c\nlea     rbx, unk_1801B6D60                                             ; +0x21, 0x1800bf761\nmov     rcx, rbx                                                       ; +0x28, 0x1800bf768\ncall    sub_1800BF310                                                  ; +0x2b, 0x1800bf76b\nlea     rcx, unk_1801B6D40                                             ; +0x30, 0x1800bf770\ncall    sub_1800BF310                                                  ; +0x37, 0x1800bf777\nlea     rcx, unk_1801B6D20                                             ; +0x3c, 0x1800bf77c\ncall    sub_1800BF310                                                  ; +0x43, 0x1800bf783\nlea     rcx, [rsp+78h+var_58]                                          ; +0x48, 0x1800bf788\nmov     cs:qword_1801B3B80, rbx                                        ; +0x4d, 0x1800bf78d\nmov     cs:byte_1801B3B88, 1                                           ; +0x54, 0x1800bf794\ncall    kmMat4Identity                                                 ; +0x5b, 0x1800bf79b\nlea     rdx, [rsp+78h+var_58]                                          ; +0x60, 0x1800bf7a0\nmov     rcx, rbx                                                       ; +0x65, 0x1800bf7a5\ncall    sub_1800BF360                                                  ; +0x68, 0x1800bf7a8\nlea     rdx, [rsp+78h+var_58]                                          ; +0x6d, 0x1800bf7ad\nlea     rcx, unk_1801B6D40                                             ; +0x72, 0x1800bf7b2\ncall    sub_1800BF360                                                  ; +0x79, 0x1800bf7b9\nlea     rdx, [rsp+78h+var_58]                                          ; +0x7e, 0x1800bf7be\nlea     rcx, unk_1801B6D20                                             ; +0x83, 0x1800bf7c3\ncall    sub_1800BF360                                                  ; +0x8a, 0x1800bf7ca\nmov     rbx, [rsp+78h+var_8]                                           ; +0x8f, 0x1800bf7cf\nmov     rcx, [rsp+78h+var_18]                                          ; +0x94, 0x1800bf7d4\nxor     rcx, rsp; StackCookie                                          ; +0x99, 0x1800bf7d9\ncall    __security_check_cookie                                        ; +0x9c, 0x1800bf7dc\nadd     rsp, 78h                                                       ; +0xa1, 0x1800bf7e1\nretn                                                                   ; +0xa5, 0x1800bf7e5", "xrefs": ["kmGLGetMatrix @ 0x1800bf46f", "kmGLLoadIdentity @ 0x1800bf4e4", "kmGLLoadMatrix @ 0x1800bf509", "kmGLMatrixMode @ 0x1800bf538", "kmGLMultMatrix @ 0x1800bf599", "kmGLPushMatrix @ 0x1800bf5e3", "<???> @ 0x18014adfc", "<???> @ 0x18014ae0c", "<???> @ 0x1801c3294", "<???> @ 0x1801c32a0"], "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"}