{"type": "func", "start": 4297583068, "end": 4297583232, "name": "GJBaseGameLayer::getPortalTargetPos", "pseudocode": "// \n// GJBaseGameLayer::getPortalTargetPos from 0x10027e9dc to 0x10027ea80 (164 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::teleportPlayer @ 0x10027e4c4\n// \n// This function is hookable on this platform (idp: arm, 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:01:54 +0000\n// \n\nfloat *__usercall GJBaseGameLayer::getPortalTargetPos@<X0>(\n        __int64 a1@<X1>,\n        __int64 a2@<X2>,\n        __int64 a3@<X3>,\n        float *a4@<X8>)\n{\n  float v6; // s8\n  __int64 v8; // [xsp+8h] [xbp-28h] BYREF\n\n  if ( a2 && *(_DWORD *)(a1 + 1028) != 747 )\n    return (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1360LL))(a2);\n  v6 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 192LL))(a3);\n  (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)a1 + 1360LL))(&v8, a1);\n  return sub_1000262BC(a4, v6, *((float *)&v8 + 1) + *(float *)(a1 + 1860));\n}", "assembly": "; \n; GJBaseGameLayer::getPortalTargetPos from 0x10027e9dc to 0x10027ea80 (164 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::teleportPlayer @ 0x10027e4c4\n; \n; This function is hookable on this platform (idp: arm, 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:01:54 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10027e9dc\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x10027e9e0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10027e9e4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10027e9e8\nADD             X29, SP, #0x30                                         ; +0x10, 0x10027e9ec\nMOV             X20, X1                                                ; +0x14, 0x10027e9f0\nMOV             X19, X8                                                ; +0x18, 0x10027e9f4\nCBZ             X2, loc_10027EA08                                      ; +0x1c, 0x10027e9f8\nLDR             W8, [X20,#0x404]                                       ; +0x20, 0x10027e9fc\nCMP             W8, #0x2EB                                             ; +0x24, 0x10027ea00\nB.NE            loc_10027EA5C                                          ; +0x28, 0x10027ea04\nLDR             X8, [X3]                                               ; +0x2c, 0x10027ea08\nLDR             X8, [X8,#0xC0]                                         ; +0x30, 0x10027ea0c\nMOV             X0, X3                                                 ; +0x34, 0x10027ea10\nBLR             X8                                                     ; +0x38, 0x10027ea14\nLDR             S8, [X0]                                               ; +0x3c, 0x10027ea18\nLDR             X8, [X20]                                              ; +0x40, 0x10027ea1c\nLDR             X9, [X8,#0x550]                                        ; +0x44, 0x10027ea20\nADD             X8, SP, #0x30+var_28                                   ; +0x48, 0x10027ea24\nMOV             X0, X20                                                ; +0x4c, 0x10027ea28\nBLR             X9                                                     ; +0x50, 0x10027ea2c\nLDR             S0, [SP,#0x30+var_24]                                  ; +0x54, 0x10027ea30\nLDR             S1, [X20,#0x744]                                       ; +0x58, 0x10027ea34\nFADD            S1, S0, S1                                             ; +0x5c, 0x10027ea38\nMOV             X0, X19                                                ; +0x60, 0x10027ea3c\nFMOV            S0, S8                                                 ; +0x64, 0x10027ea40\nBL              sub_1000262BC                                          ; +0x68, 0x10027ea44\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x10027ea48\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x10027ea4c\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x74, 0x10027ea50\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x10027ea54\nRET                                                                    ; +0x7c, 0x10027ea58\nLDR             X8, [X2]                                               ; +0x80, 0x10027ea5c\nLDR             X1, [X8,#0x550]                                        ; +0x84, 0x10027ea60\nMOV             X8, X19                                                ; +0x88, 0x10027ea64\nMOV             X0, X2                                                 ; +0x8c, 0x10027ea68\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x90, 0x10027ea6c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x94, 0x10027ea70\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x98, 0x10027ea74\nADD             SP, SP, #0x40 ; '@'                                    ; +0x9c, 0x10027ea78\nBR              X1                                                     ; +0xa0, 0x10027ea7c", "xrefs": ["GJBaseGameLayer::teleportPlayer @ 0x10027e4c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}