// // limitCamera from 0x477118 to 0x477186 (110 bytes) // // 3 xrefs: // > GJBaseGameLayer::updateCamera @ 0x486ff2 // > GJBaseGameLayer::updateCamera @ 0x487082 // > GJBaseGameLayer::updateCamera @ 0x48739c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // float *__fastcall limitCamera(float *result, float *a2, float *a3) { float v3; // s15 float v4; // s15 float v5; // s14 float v6; // s15 v3 = *a2; if ( *a2 > 0.0 && *result > v3 ) *result = v3; v4 = a2[1]; if ( v4 > 0.0 && result[1] > v4 ) result[1] = v4; v5 = result[1]; if ( *result < *a3 ) *result = *a3; v6 = a3[1]; if ( v5 < v6 ) result[1] = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source