// // GJBaseGameLayer::getMaxPortalY from 0x58f034 to 0x58f09c (104 bytes) // // 5 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x443e0a // > PlayerObject::spiderTestJumpY @ 0x445538 // > DrawGridLayer::draw @ 0x4652cc // > GJBaseGameLayer::checkCollisions @ 0x5bad20 // > GJBaseGameLayer::update @ 0x5be0a2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:04 +0000 // int __fastcall GJBaseGameLayer::getMaxPortalY(GJBaseGameLayer *this) { float v1; // s16 float v2; // s15 if ( *((float *)this + 119) == 0.0 || *((_BYTE *)this + 576) ) { v2 = COERCE_FLOAT(GJBaseGameLayer::getMinPortalY(this)) + (float)(*((float *)this + 163) / *((float *)this + 82)); } else { v1 = *((float *)this + 250); v2 = v1 + (float)((float)(*(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)) + 4) + 1.0) / *((float *)this + 82)); } return LODWORD(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source