// // sub_987862 from 0x987862 to 0x9878a2 (64 bytes) // // 10 xrefs: // > sub_982908 @ 0x982b22 // > sub_983468 @ 0x9841a2 // > sub_983468 @ 0x9842c2 // > sub_986930 @ 0x9873ee // > sub_98780C @ 0x98782e // > sub_98780C @ 0x987846 // > sub_98E3B4 @ 0x98e418 // > sub_98E3B4 @ 0x98e450 // > sub_98E3B4 @ 0x98e48a // > sub_98F518 @ 0x98f534 // // 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_987862(unsigned __int8 *result, unsigned __int8 *a2) { unsigned __int8 *v2; // r2 int v3; // r3 unsigned __int8 *v4; // r0 int v5; // t1 if ( result != a2 ) { v2 = result + 1; if ( *result != 110 ) v2 = result; if ( v2 != a2 ) { v3 = *v2; if ( v3 == 48 ) { return v2 + 1; } else if ( (unsigned __int8)(v3 - 49) <= 8u ) { v4 = v2 + 1; do { if ( a2 == v4 ) return a2; v5 = *v4++; } while ( (unsigned int)(v5 - 48) < 0xA ); return v4 - 1; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source