{"type": "func", "start": 5373633824, "end": 5373633967, "name": "TeleportPortalObject::setRotation", "pseudocode": "// \n// TeleportPortalObject::setRotation from 0x1404b2520 to 0x1404b25af (143 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1406111d0\n// > <???> @ 0x1406dca1c\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\n// Hidden C++ exception states: #wind=1\nvoid TeleportPortalObject::setRotation(TeleportPortalObject *a1, float a2)\n{\n  __int64 v3; // rax\n  TeleportPortalObject *m_orangePortal; // rcx\n  void *v5; // [rsp+50h] [rbp+18h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v5 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  if ( !*(_BYTE *)(v3 + 698) || a1->m_objectID != 749 )\n  {\n    GameObject::setRotation(a1, a2);\n    m_orangePortal = a1->m_orangePortal;\n    if ( m_orangePortal )\n      ((void (__fastcall *)(TeleportPortalObject *))m_orangePortal->setRotation2)(m_orangePortal);\n  }\n}", "assembly": "; \n; TeleportPortalObject::setRotation from 0x1404b2520 to 0x1404b25af (143 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1406111d0\n; > <???> @ 0x1406dca1c\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, 0x1404b2520\nsub     rsp, 30h                                                       ; +0x2, 0x1404b2522\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x1404b2526\nmovaps  xmm6, xmm1                                                     ; +0xb, 0x1404b252b\nmov     rbx, rcx                                                       ; +0xe, 0x1404b252e\nmov     rax, cs:qword_1406C2ED8                                        ; +0x11, 0x1404b2531\ntest    rax, rax                                                       ; +0x18, 0x1404b2538\njnz     short loc_1404B256C                                            ; +0x1b, 0x1404b253b\nmov     ecx, 668h; Size                                                ; +0x1d, 0x1404b253d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x1404b2542\nmov     [rsp+38h+arg_10], rax                                          ; +0x27, 0x1404b2547\nmov     rcx, rax                                                       ; +0x2c, 0x1404b254c\ncall    sub_14017AB00                                                  ; +0x2f, 0x1404b254f\nnop                                                                    ; +0x34, 0x1404b2554\nmov     cs:qword_1406C2ED8, rax                                        ; +0x35, 0x1404b2555\nmov     rdx, [rax]                                                     ; +0x3c, 0x1404b255c\nmov     rcx, rax                                                       ; +0x3f, 0x1404b255f\ncall    qword ptr [rdx+48h]                                            ; +0x42, 0x1404b2562\nmov     rax, cs:qword_1406C2ED8                                        ; +0x45, 0x1404b2565\ncmp     byte ptr [rax+2BAh], 0                                         ; +0x4c, 0x1404b256c\njz      short loc_1404B2581                                            ; +0x53, 0x1404b2573\ncmp     dword ptr [rbx+40Ch], 2EDh                                     ; +0x55, 0x1404b2575\njz      short loc_1404B25A4                                            ; +0x5f, 0x1404b257f\nmovaps  xmm1, xmm6                                                     ; +0x61, 0x1404b2581\nmov     rcx, rbx                                                       ; +0x64, 0x1404b2584\ncall    GameObject__setRotation                                        ; +0x67, 0x1404b2587\nmov     rcx, [rbx+748h]                                                ; +0x6c, 0x1404b258c\ntest    rcx, rcx                                                       ; +0x73, 0x1404b2593\njz      short loc_1404B25A4                                            ; +0x76, 0x1404b2596\nmov     rax, [rcx]                                                     ; +0x78, 0x1404b2598\nmovaps  xmm1, xmm6                                                     ; +0x7b, 0x1404b259b\ncall    qword ptr [rax+6A0h]                                           ; +0x7e, 0x1404b259e\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x84, 0x1404b25a4\nadd     rsp, 30h                                                       ; +0x89, 0x1404b25a9\npop     rbx                                                            ; +0x8d, 0x1404b25ad\nretn                                                                   ; +0x8e, 0x1404b25ae", "xrefs": ["<???> @ 0x1406111d0", "<???> @ 0x1406dca1c"], "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"}