// // limitCamera from 0x9a93b0 to 0x9a941c (108 bytes) // // 4 xrefs: // > GJBaseGameLayer::updateCamera @ 0x9e42b0 // > GJBaseGameLayer::updateCamera @ 0x9e434c // > GJBaseGameLayer::updateCamera @ 0x9e4540 // > @ 0xb4568 // // 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:11 +0000 // float *__fastcall limitCamera(float *result, float *a2, float *a3) { float v3; // s0 float v4; // s2 float v5; // s0 float v6; // s1 float v7; // s0 v3 = *a2; v4 = *result; if ( *a2 > 0.0 && v3 < v4 ) { v4 = *a2; *result = v3; } v5 = a2[1]; v6 = result[1]; if ( v5 > 0.0 && v5 < v6 ) { v6 = a2[1]; result[1] = v5; } if ( *a3 > v4 ) *result = *a3; v7 = a3[1]; if ( v7 > v6 ) result[1] = v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source