// // GJBaseGameLayer::getMaxPortalY from 0x100282c04 to 0x100282c7c (120 bytes) // // 4 xrefs: // > GJBaseGameLayer::checkCollisions @ 0x100282e54 // > GJBaseGameLayer::update @ 0x10029af20 // > PlayerObject::spiderTestJumpInternal @ 0x1002c1878 // > DrawGridLayer::draw @ 0x10040d6a4 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:01:56 +0000 // float __fastcall GJBaseGameLayer::getMaxPortalY(__int64 a1) { float v2; // s0 float v3; // s8 float v4; // s0 if ( *(float *)(a1 + 572) == 0.0 || (*(_BYTE *)(a1 + 672) & 1) != 0 ) { GJBaseGameLayer::getMinPortalY(a1); v3 = v2; v4 = *(float *)(a1 + 748); } else { v3 = *(float *)(a1 + 1208); v4 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3968) + 192LL))(*(_QWORD *)(a1 + 3968)) + 4) + 1.0; } return v3 + (float)(v4 / *(float *)(a1 + 424)); }