{"type": "func", "start": 5371964000, "end": 5371964128, "name": "GJBaseGameLayer::getMaxPortalY", "pseudocode": "// \n// GJBaseGameLayer::getMaxPortalY from 0x14031aa60 to 0x14031aae0 (128 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::checkCollisions @ 0x14031af4f\n// > GJBaseGameLayer::update @ 0x140341579\n// > DrawGridLayer::draw @ 0x14040bdf2\n// > PlayerObject::spiderTestJumpInternal @ 0x1404f2740\n// > <???> @ 0x14091ebfc\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 11:30:19 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::getMaxPortalY(__int64 a1)\n{\n  float v2; // xmm6_4\n\n  if ( *(float *)(a1 + 572) != 0.0 && !*(_BYTE *)(a1 + 672) )\n    return (float)((float)(*(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4344) + 200LL))(*(_QWORD *)(a1 + 4344))\n                                    + 4)\n                         + 1.0)\n                 / *(float *)(a1 + 424))\n         + *(float *)(a1 + 1296);\n  v2 = *(float *)(a1 + 748) / *(float *)(a1 + 424);\n  return GJBaseGameLayer::getMinPortalY(a1) + v2;\n}", "assembly": "; \n; GJBaseGameLayer::getMaxPortalY from 0x14031aa60 to 0x14031aae0 (128 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::checkCollisions @ 0x14031af4f\n; > GJBaseGameLayer::update @ 0x140341579\n; > DrawGridLayer::draw @ 0x14040bdf2\n; > PlayerObject::spiderTestJumpInternal @ 0x1404f2740\n; > <???> @ 0x14091ebfc\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 11:30:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x14031aa60\nsub     rsp, 30h                                                       ; +0x2, 0x14031aa62\nmovss   xmm1, dword ptr [rcx+23Ch]                                     ; +0x6, 0x14031aa66\nxorps   xmm0, xmm0                                                     ; +0xe, 0x14031aa6e\nucomiss xmm1, xmm0                                                     ; +0x11, 0x14031aa71\nmov     rbx, rcx                                                       ; +0x14, 0x14031aa74\njp      short loc_14031AA7B                                            ; +0x17, 0x14031aa77\njz      short loc_14031AAB7                                            ; +0x19, 0x14031aa79\ncmp     byte ptr [rcx+2A0h], 0                                         ; +0x1b, 0x14031aa7b\njnz     short loc_14031AAB7                                            ; +0x22, 0x14031aa82\nmov     rcx, [rcx+10F8h]                                               ; +0x24, 0x14031aa84\nmov     rax, [rcx]                                                     ; +0x2b, 0x14031aa8b\ncall    qword ptr [rax+0C8h]                                           ; +0x2e, 0x14031aa8e\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x34, 0x14031aa94\naddss   xmm0, cs:flt_140835080                                         ; +0x39, 0x14031aa99\ndivss   xmm0, dword ptr [rbx+1A8h]                                     ; +0x41, 0x14031aaa1\naddss   xmm0, dword ptr [rbx+510h]                                     ; +0x49, 0x14031aaa9\nadd     rsp, 30h                                                       ; +0x51, 0x14031aab1\npop     rbx                                                            ; +0x55, 0x14031aab5\nretn                                                                   ; +0x56, 0x14031aab6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x57, 0x14031aab7\nmovss   xmm6, dword ptr [rcx+2ECh]                                     ; +0x5c, 0x14031aabc\ndivss   xmm6, dword ptr [rcx+1A8h]                                     ; +0x64, 0x14031aac4\ncall    GJBaseGameLayer__getMinPortalY                                 ; +0x6c, 0x14031aacc\naddss   xmm0, xmm6                                                     ; +0x71, 0x14031aad1\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x75, 0x14031aad5\nadd     rsp, 30h                                                       ; +0x7a, 0x14031aada\npop     rbx                                                            ; +0x7e, 0x14031aade\nretn                                                                   ; +0x7f, 0x14031aadf", "xrefs": ["GJBaseGameLayer::checkCollisions @ 0x14031af4f", "GJBaseGameLayer::update @ 0x140341579", "DrawGridLayer::draw @ 0x14040bdf2", "PlayerObject::spiderTestJumpInternal @ 0x1404f2740", "<???> @ 0x14091ebfc"], "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"}