// // sub_98780C from 0x98780c to 0x987862 (86 bytes) // // 3 xrefs: // > sub_982908 @ 0x982ce6 // > sub_982908 @ 0x982d7c // > sub_982908 @ 0x982d8e // // 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:06:21 +0000 // unsigned __int8 *__fastcall sub_98780C(unsigned __int8 *a1, unsigned __int8 *a2) { unsigned __int8 *v3; // r4 int v4; // r0 unsigned __int8 *v5; // r6 unsigned __int8 *v6; // r0 bool v7; // zf unsigned __int8 *v8; // r0 bool v9; // zf unsigned __int8 *v10; // r0 int v11; // t1 v3 = a1; if ( a1 == a2 ) return v3; v4 = *a1; if ( v4 != 118 ) { if ( v4 != 104 ) return v3; v5 = v3 + 1; goto LABEL_10; } v6 = (unsigned __int8 *)sub_987862(v3 + 1, a2); v7 = v6 == v3 + 1; if ( v6 != v3 + 1 ) v7 = v6 == a2; if ( !v7 && *v6 == 95 ) { v5 = v6 + 1; LABEL_10: v8 = (unsigned __int8 *)sub_987862(v5, a2); v9 = v8 == v5; if ( v8 != v5 ) v9 = v8 == a2; if ( !v9 ) { v11 = *v8; v10 = v8 + 1; if ( v11 == 95 ) return v10; } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source