// // GJBaseGameLayer::getMinPortalY from 0x58ef7c to 0x58f02e (178 bytes) // // 5 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x443dfe // > PlayerObject::spiderTestJumpY @ 0x44552e // > DrawGridLayer::draw @ 0x4652b6 // > GJBaseGameLayer::getMaxPortalY @ 0x58f07a // > GJBaseGameLayer::checkCollisions @ 0x5bad2a // // 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::getMinPortalY(GJBaseGameLayer *this) { float v2; // s16 float v3; // s15 float v4; // s16 if ( *((float *)this + 119) == 0.0 || *((_BYTE *)this + 576) ) { v3 = (float)((float)((float)-(float)(0.5 * *((float *)this + 163)) / *((float *)this + 82)) + *((float *)this + 170)) + *((float *)this + 85); if ( v3 > 90.0 ) return LODWORD(v3); } else { v2 = *((float *)this + 250); if ( (float)(v2 + (float)((float)(*(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4) - 1.0) / *((float *)this + 82))) > 90.0 ) { v4 = *((float *)this + 250); v3 = v4 + (float)((float)(*(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4) - 1.0) / *((float *)this + 82)); return LODWORD(v3); } } v3 = 90.0; return LODWORD(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source