// // limitCamera from 0x5966b6 to 0x596724 (110 bytes) // // 3 xrefs: // > GJBaseGameLayer::updateCamera @ 0x5b795a // > GJBaseGameLayer::updateCamera @ 0x5b79ea // > GJBaseGameLayer::updateCamera @ 0x5b7d02 // // 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:09 +0000 // 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