{"type": "func", "start": 4298662400, "end": 4298662524, "name": "EndPortalObject::getSpawnPos", "pseudocode": "// \n// EndPortalObject::getSpawnPos from 0x100386200 to 0x10038627c (124 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::checkForEnd @ 0x100088c58\n// > PlayLayer::checkForEnd @ 0x100088c97\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:29:10 +0000\n// \n\nfloat *__fastcall EndPortalObject::getSpawnPos(float *a1, __int64 a2)\n{\n  __int64 v2; // rax\n  float v3; // xmm1_4\n  float v5; // [rsp+Ch] [rbp-14h]\n\n  v5 = *(float *)(a2 + 960);\n  v2 = *(_QWORD *)(GameManager::sharedState() + 544);\n  if ( *(_BYTE *)(a2 + 1360) )\n    v3 = -1.0;\n  else\n    v3 = 1.0;\n  sub_100278250(a1, (float)((float)(-300.0 / *(float *)(v2 + 424)) * v3) + v5, *(float *)(a2 + 964));\n  return a1;\n}", "assembly": "; \n; EndPortalObject::getSpawnPos from 0x100386200 to 0x10038627c (124 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::checkForEnd @ 0x100088c58\n; > PlayLayer::checkForEnd @ 0x100088c97\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:29:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100386200\nmov     rbp, rsp                                                       ; +0x1, 0x100386201\npush    r14                                                            ; +0x4, 0x100386204\npush    rbx                                                            ; +0x6, 0x100386206\nsub     rsp, 10h                                                       ; +0x7, 0x100386207\nmov     r14, rsi                                                       ; +0xb, 0x10038620b\nmov     rbx, rdi                                                       ; +0xe, 0x10038620e\nmovss   xmm0, dword ptr [rsi+3C0h]                                     ; +0x11, 0x100386211\nmovss   [rbp+var_14], xmm0                                             ; +0x19, 0x100386219\ncall    GameManager__sharedState                                       ; +0x1e, 0x10038621e\nmov     rax, [rax+220h]                                                ; +0x23, 0x100386223\ncmp     byte ptr [r14+550h], 0                                         ; +0x2a, 0x10038622a\njnz     short loc_10038623E                                            ; +0x32, 0x100386232\nmovss   xmm1, cs:alpha                                                 ; +0x34, 0x100386234\njmp     short loc_100386246                                            ; +0x3c, 0x10038623c\nmovss   xmm1, cs:dword_100A035E0                                       ; +0x3e, 0x10038623e\nmovss   xmm0, cs:dword_100A08AC0                                       ; +0x46, 0x100386246\ndivss   xmm0, dword ptr [rax+1A8h]                                     ; +0x4e, 0x10038624e\nmulss   xmm0, xmm1                                                     ; +0x56, 0x100386256\naddss   xmm0, [rbp+var_14]                                             ; +0x5a, 0x10038625a\nmovss   xmm1, dword ptr [r14+3C4h]                                     ; +0x5f, 0x10038625f\nmov     rdi, rbx                                                       ; +0x68, 0x100386268\ncall    sub_100278250                                                  ; +0x6b, 0x10038626b\nmov     rax, rbx                                                       ; +0x70, 0x100386270\nadd     rsp, 10h                                                       ; +0x73, 0x100386273\npop     rbx                                                            ; +0x77, 0x100386277\npop     r14                                                            ; +0x78, 0x100386278\npop     rbp                                                            ; +0x7a, 0x10038627a\nretn                                                                   ; +0x7b, 0x10038627b", "xrefs": ["PlayLayer::checkForEnd @ 0x100088c58", "PlayLayer::checkForEnd @ 0x100088c97"], "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"}