{"type": "func", "start": 4296005056, "end": 4296005184, "name": "GJBaseGameLayer::getPortalTargetPos", "pseudocode": "// \n// GJBaseGameLayer::getPortalTargetPos from 0x1000fd5c0 to 0x1000fd640 (128 bytes)\n// \n// 0 xrefs:\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 12:21:19 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::getPortalTargetPos(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)\n{\n  _BYTE v7[4]; // [rsp+4h] [rbp-1Ch] BYREF\n  float v8; // [rsp+8h] [rbp-18h]\n  float v9; // [rsp+Ch] [rbp-14h]\n\n  if ( a4 && *(_DWORD *)(a3 + 1028) != 747 )\n  {\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a4 + 1360LL))(a1, a4);\n  }\n  else\n  {\n    v9 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a5 + 192LL))(a5);\n    (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1360LL))(v7, a3);\n    sub_100278250(a1, v9, v8 + *(float *)(a3 + 1860));\n  }\n  return a1;\n}", "assembly": "; \n; GJBaseGameLayer::getPortalTargetPos from 0x1000fd5c0 to 0x1000fd640 (128 bytes)\n; \n; 0 xrefs:\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 12:21:19 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000fd5c0\nmov     rbp, rsp                                                       ; +0x1, 0x1000fd5c1\npush    r14                                                            ; +0x4, 0x1000fd5c4\npush    rbx                                                            ; +0x6, 0x1000fd5c6\nsub     rsp, 10h                                                       ; +0x7, 0x1000fd5c7\nmov     r14, rdx                                                       ; +0xb, 0x1000fd5cb\nmov     rbx, rdi                                                       ; +0xe, 0x1000fd5ce\ntest    rcx, rcx                                                       ; +0x11, 0x1000fd5d1\njz      short loc_1000FD5E3                                            ; +0x14, 0x1000fd5d4\ncmp     dword ptr [r14+404h], 2EBh                                     ; +0x16, 0x1000fd5d6\njnz     short loc_1000FD625                                            ; +0x21, 0x1000fd5e1\nmov     rax, [r8]                                                      ; +0x23, 0x1000fd5e3\nmov     rdi, r8                                                        ; +0x26, 0x1000fd5e6\ncall    qword ptr [rax+0C0h]                                           ; +0x29, 0x1000fd5e9\nmovss   xmm0, dword ptr [rax]                                          ; +0x2f, 0x1000fd5ef\nmovss   [rbp+var_14], xmm0                                             ; +0x33, 0x1000fd5f3\nmov     rax, [r14]                                                     ; +0x38, 0x1000fd5f8\nlea     rdi, [rbp+var_1C]                                              ; +0x3b, 0x1000fd5fb\nmov     rsi, r14                                                       ; +0x3f, 0x1000fd5ff\ncall    qword ptr [rax+550h]                                           ; +0x42, 0x1000fd602\nmovss   xmm1, [rbp+var_18]                                             ; +0x48, 0x1000fd608\naddss   xmm1, dword ptr [r14+744h]                                     ; +0x4d, 0x1000fd60d\nmov     rdi, rbx                                                       ; +0x56, 0x1000fd616\nmovss   xmm0, [rbp+var_14]                                             ; +0x59, 0x1000fd619\ncall    sub_100278250                                                  ; +0x5e, 0x1000fd61e\njmp     short loc_1000FD634                                            ; +0x63, 0x1000fd623\nmov     rax, [rcx]                                                     ; +0x65, 0x1000fd625\nmov     rdi, rbx                                                       ; +0x68, 0x1000fd628\nmov     rsi, rcx                                                       ; +0x6b, 0x1000fd62b\ncall    qword ptr [rax+550h]                                           ; +0x6e, 0x1000fd62e\nmov     rax, rbx                                                       ; +0x74, 0x1000fd634\nadd     rsp, 10h                                                       ; +0x77, 0x1000fd637\npop     rbx                                                            ; +0x7b, 0x1000fd63b\npop     r14                                                            ; +0x7c, 0x1000fd63c\npop     rbp                                                            ; +0x7e, 0x1000fd63e\nretn                                                                   ; +0x7f, 0x1000fd63f", "xrefs": [], "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"}