// // sub_844D60 from 0x844d60 to 0x844dec (140 bytes) // // 3 xrefs: // > sub_83F9BC @ 0x83fae2 // > sub_841278 @ 0x8413b0 // > sub_841438 @ 0x84153e // // 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 12:02:23 +0000 // int *__fastcall sub_844D60(int a1, int a2, int *a3, int *a4) { int *v4; // r5 int *v8; // r0 int v9; // r2 int v10; // r1 int v12; // r1 v4 = a3; if ( a4 ) { if ( !a3 ) { a4[1] = 0; *a4 = 0; goto LABEL_7; } v8 = sub_844CC0(a1, a2, a3); v9 = v8[3]; if ( v9 == a1 ) { v10 = v8[4]; if ( v10 == a2 ) { a4[3] = v9; v4 = a4; a4[2] = (int)v8; a4[4] = v10; *a4 = *v8; a4[1] = v8[1]; *v8 = (int)a4; v8[3] = -1; v8[4] = -1; return v4; } } else { if ( v9 > a1 ) goto LABEL_6; if ( v9 < a1 ) { LABEL_12: v12 = v8[1]; *a4 = (int)v8; a4[1] = v12; v8[1] = 0; goto LABEL_7; } v10 = v8[4]; } if ( a2 < v10 ) { LABEL_6: *a4 = *v8; a4[1] = (int)v8; *v8 = 0; LABEL_7: v4 = a4; a4[3] = a1; a4[4] = a2; a4[2] = 0; return v4; } goto LABEL_12; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source