{"type": "func", "start": 4299683048, "end": 4299683296, "name": "EndPortalObject::setPosition", "pseudocode": "// \n// EndPortalObject::setPosition from 0x10047f4e8 to 0x10047f5e0 (248 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10096dda0\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:05:45 +0000\n// \n\n__int64 __fastcall EndPortalObject::setPosition(__int64 a1, float32x2_t *a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x20\n  float v6; // s0\n  double v7; // d0\n  __int64 v8; // x20\n  float32x2_t *v9; // x21\n  float v10; // s0\n  double v11; // d0\n  float32x2_t v12; // [xsp+0h] [xbp-30h] BYREF\n  float32x2_t v13; // [xsp+8h] [xbp-28h] BYREF\n\n  result = GameObject::setPosition(a1, (float *)a2);\n  v5 = *(_QWORD *)(a1 + 1352);\n  if ( v5 )\n  {\n    v6 = (float)(-15.0 / *(float *)(*(_QWORD *)(GameManager::sharedState() + 544) + 424LL)) + -14.0;\n    if ( *(_BYTE *)(a1 + 1360) )\n      v6 = -v6;\n    sub_1000262BC((float *)&v12, v6, 0.0);\n    *(float32x2_t *)&v7 = sub_100026318(a2, &v12, &v13);\n    result = (*(__int64 (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v5 + 184LL))(v5, &v13, v7);\n  }\n  v8 = *(_QWORD *)(a1 + 776);\n  if ( v8 )\n  {\n    v9 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);\n    v10 = 1.0;\n    if ( *(_BYTE *)(a1 + 1360) )\n      v10 = -1.0;\n    sub_100026350((float32x2_t *)(a1 + 812), &v12, v10);\n    *(float32x2_t *)&v11 = sub_100026318(v9, &v12, &v13);\n    return (*(__int64 (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v8 + 184LL))(v8, &v13, v11);\n  }\n  return result;\n}", "assembly": "; \n; EndPortalObject::setPosition from 0x10047f4e8 to 0x10047f5e0 (248 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10096dda0\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:05:45 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10047f4e8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10047f4ec\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10047f4f0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10047f4f4\nADD             X29, SP, #0x30                                         ; +0x10, 0x10047f4f8\nMOV             X21, X1                                                ; +0x14, 0x10047f4fc\nMOV             X19, X0                                                ; +0x18, 0x10047f500\nBL              GameObject__setPosition                                ; +0x1c, 0x10047f504\nLDR             X20, [X19,#0x548]                                      ; +0x20, 0x10047f508\nCBZ             X20, loc_10047F56C                                     ; +0x24, 0x10047f50c\nBL              GameManager__sharedState                               ; +0x28, 0x10047f510\nLDR             X8, [X0,#0x220]                                        ; +0x2c, 0x10047f514\nLDR             S0, [X8,#0x1A8]                                        ; +0x30, 0x10047f518\nFMOV            S1, #-15.0                                             ; +0x34, 0x10047f51c\nFDIV            S0, S1, S0                                             ; +0x38, 0x10047f520\nFMOV            S1, #-14.0                                             ; +0x3c, 0x10047f524\nFADD            S0, S0, S1                                             ; +0x40, 0x10047f528\nLDRB            W8, [X19,#0x550]                                       ; +0x44, 0x10047f52c\nFNEG            S1, S0                                                 ; +0x48, 0x10047f530\nCMP             W8, #0                                                 ; +0x4c, 0x10047f534\nFCSEL           S0, S1, S0, NE                                         ; +0x50, 0x10047f538\nMOV             X0, SP                                                 ; +0x54, 0x10047f53c\nFMOV            S1, WZR                                                ; +0x58, 0x10047f540\nBL              sub_1000262BC                                          ; +0x5c, 0x10047f544\nADD             X8, SP, #0x30+var_28                                   ; +0x60, 0x10047f548\nMOV             X1, SP                                                 ; +0x64, 0x10047f54c\nMOV             X0, X21                                                ; +0x68, 0x10047f550\nBL              sub_100026318                                          ; +0x6c, 0x10047f554\nLDR             X8, [X20]                                              ; +0x70, 0x10047f558\nLDR             X8, [X8,#0xB8]                                         ; +0x74, 0x10047f55c\nADD             X1, SP, #0x30+var_28                                   ; +0x78, 0x10047f560\nMOV             X0, X20                                                ; +0x7c, 0x10047f564\nBLR             X8                                                     ; +0x80, 0x10047f568\nLDR             X20, [X19,#0x308]                                      ; +0x84, 0x10047f56c\nCBZ             X20, loc_10047F5CC                                     ; +0x88, 0x10047f570\nLDR             X8, [X19]                                              ; +0x8c, 0x10047f574\nLDR             X8, [X8,#0xC0]                                         ; +0x90, 0x10047f578\nMOV             X0, X19                                                ; +0x94, 0x10047f57c\nBLR             X8                                                     ; +0x98, 0x10047f580\nMOV             X21, X0                                                ; +0x9c, 0x10047f584\nLDRB            W8, [X19,#0x550]                                       ; +0xa0, 0x10047f588\nCMP             W8, #0                                                 ; +0xa4, 0x10047f58c\nFMOV            S0, #1.0                                               ; +0xa8, 0x10047f590\nFMOV            S1, #-1.0                                              ; +0xac, 0x10047f594\nFCSEL           S0, S1, S0, NE                                         ; +0xb0, 0x10047f598\nMOV             X8, SP                                                 ; +0xb4, 0x10047f59c\nADD             X0, X19, #0x32C                                        ; +0xb8, 0x10047f5a0\nBL              sub_100026350                                          ; +0xbc, 0x10047f5a4\nADD             X8, SP, #0x30+var_28                                   ; +0xc0, 0x10047f5a8\nMOV             X1, SP                                                 ; +0xc4, 0x10047f5ac\nMOV             X0, X21                                                ; +0xc8, 0x10047f5b0\nBL              sub_100026318                                          ; +0xcc, 0x10047f5b4\nLDR             X8, [X20]                                              ; +0xd0, 0x10047f5b8\nLDR             X8, [X8,#0xB8]                                         ; +0xd4, 0x10047f5bc\nADD             X1, SP, #0x30+var_28                                   ; +0xd8, 0x10047f5c0\nMOV             X0, X20                                                ; +0xdc, 0x10047f5c4\nBLR             X8                                                     ; +0xe0, 0x10047f5c8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xe4, 0x10047f5cc\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xe8, 0x10047f5d0\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xec, 0x10047f5d4\nADD             SP, SP, #0x40 ; '@'                                    ; +0xf0, 0x10047f5d8\nRET                                                                    ; +0xf4, 0x10047f5dc", "xrefs": ["<???> @ 0x10096dda0"], "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"}