// // alphaNumericallyLessThan from 0x80abc6 to 0x80ac32 (108 bytes) // // 11 xrefs: // > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x80ae70 // > DS_Dictionary::setBoolForKey @ 0x80b4e0 // > DS_Dictionary::setStringForKey @ 0x80b61c // > DS_Dictionary::setStringArrayForKey @ 0x80b772 // > DS_Dictionary::setSubDictForKey @ 0x80d2b6 // > DS_Dictionary::setFloatForKey @ 0x80db06 // > DS_Dictionary::setIntegerForKey @ 0x80ddba // > DS_Dictionary::setVec2ForKey @ 0x80eca4 // > DS_Dictionary::setRectForKey @ 0x80ef00 // > DS_Dictionary::setVec2ArrayForKey @ 0x80f092 // > DS_Dictionary::setRectArrayForKey @ 0x80f324 // // 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:01:29 +0000 // int __fastcall alphaNumericallyLessThan(const char *a1, const char *a2) { const char *v3; // r5 int v4; // r7 int v5; // r0 int i; // r2 int v7; // r3 const char *v8; // r6 const char *v9; // r1 int v10; // r5 int v11; // t1 v3 = a1; v4 = ndigits(a1); v5 = ndigits(a2); if ( v4 ) { if ( v5 ) { for ( i = 0; i < v4; ++i ) { if ( i >= v5 ) return 1; do { v7 = *(unsigned __int8 *)v3; v8 = v3++; } while ( (unsigned int)(v7 - 48) > 9 ); do { v9 = a2; v11 = *(unsigned __int8 *)a2++; v10 = v11; } while ( (unsigned int)(v11 - 48) > 9 ); if ( v7 != v10 ) return v7 - v10; v3 = v8 + 1; a2 = v9 + 1; } if ( i >= v5 ) return j_strcasecmp(v3, a2); } return -1; } else { if ( !v5 ) return j_strcasecmp(v3, a2); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source