// // sub_991CE6 from 0x991ce6 to 0x991d4a (100 bytes) // // 2 xrefs: // > sub_986930 @ 0x9869ce // > sub_986930 @ 0x9874f6 // // 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:36 +0000 // unsigned __int8 *__fastcall sub_991CE6(unsigned __int8 *result, unsigned __int8 *a2) { int v2; // r2 int v3; // r2 unsigned __int8 *v4; // r2 int v5; // r12 unsigned __int8 *v6; // r2 int v7; // t1 if ( result != a2 ) { v2 = *result; if ( v2 == 95 ) { if ( result + 1 != a2 ) { v3 = result[1]; if ( (unsigned int)(v3 - 48) > 9 ) { if ( v3 == 95 ) { v4 = result + 2; if ( result + 2 != a2 ) { while ( 1 ) { v5 = *v4; if ( (unsigned int)(v5 - 48) > 9 ) break; if ( a2 == ++v4 ) return result; } if ( v5 == 95 ) return v4 + 1; } } } else { result += 2; } } } else if ( (unsigned int)(v2 - 48) <= 9 ) { v6 = result + 1; while ( a2 != v6 ) { v7 = *v6++; if ( (unsigned int)(v7 - 48) >= 0xA ) return result; } return a2; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source