// // sub_100912C20 from 0x100912c20 to 0x100912ca0 (128 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:38:10 +0000 // bool __fastcall sub_100912C20(unsigned __int8 *a1) { unsigned int v1; // eax __int64 v2; // rcx _BYTE *v3; // rdi bool result; // al char v5; // al __int64 v6; // rcx __int64 v7; // rdx v1 = *a1; if ( (v1 & 1) == 0 ) { v2 = v1 >> 1; if ( v1 >> 1 ) goto LABEL_3; return 0; } v2 = *((_QWORD *)a1 + 1); if ( !v2 ) return 0; LABEL_3: if ( (v1 & 1) != 0 ) v3 = *((_BYTE **)a1 + 2); else v3 = a1 + 1; v5 = 4; if ( *v3 != 45 ) v5 = (unsigned __int8)(*v3 - 58) < 0xF6u; if ( (v5 & 1) != 0 ) return 0; result = v2 == 1; if ( v2 != 1 ) { v6 = v2 - 2; v7 = 0; do { result = (unsigned __int8)(v3[v7 + 1] - 48) < 0xAu; if ( (unsigned __int8)(v3[v7 + 1] - 48) >= 0xAu ) break; } while ( v6 != v7++ ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source