// // GJBaseGameLayer::getMinPortalY from 0x99df80 to 0x99e068 (232 bytes) // // 6 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x762fa4 // > PlayerObject::spiderTestJumpY @ 0x7648a4 // > DrawGridLayer::draw @ 0x791a48 // > GJBaseGameLayer::getMaxPortalY @ 0x99e098 // > GJBaseGameLayer::checkCollisions @ 0x9e977c // > @ 0xc11c8 // // 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 12:58:05 +0000 // float __fastcall GJBaseGameLayer::getMinPortalY(GJBaseGameLayer *this) { float result; // s0 float v3; // s8 float v4; // s8 if ( *((float *)this + 143) == 0.0 || *((_BYTE *)this + 672) ) { result = (float)((float)((float)(*((float *)this + 187) * -0.5) / *((float *)this + 106)) + *((float *)this + 194)) + *((float *)this + 109); if ( result > 90.0 ) return result; return 90.0; } v3 = *((float *)this + 302); if ( (float)(v3 + (float)((float)(*(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 495) + 192LL))(*((_QWORD *)this + 495)) + 4) - 1.0) / *((float *)this + 106))) <= 90.0 ) return 90.0; v4 = *((float *)this + 302); return v4 + (float)((float)(*(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 495) + 192LL))(*((_QWORD *)this + 495)) + 4) - 1.0) / *((float *)this + 106)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source