// // sub_D22908 from 0xd22908 to 0xd229f4 (236 bytes) // // 4 xrefs: // > sub_D26B10 @ 0xd26f1c // > sub_D26B10 @ 0xd27078 // > sub_D26B10 @ 0xd27088 // > sub_D26B10 @ 0xd270d4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_D22908(__int64 a1, int a2) { _BYTE *v3; // x0 _BYTE *v5; // x0 unsigned __int8 *v6; // x0 int v7; // w2 int v8; // w1 if ( !a2 ) { v3 = *(_BYTE **)(a1 + 24); if ( !*v3 ) return 0; *(_QWORD *)(a1 + 24) = v3 + 1; a2 = (unsigned __int8)*v3; } if ( a2 != 104 ) { if ( a2 != 118 ) return 0; sub_D220E4((unsigned __int8 **)(a1 + 24)); v5 = *(_BYTE **)(a1 + 24); if ( *v5 != 95 ) return 0; *(_QWORD *)(a1 + 24) = v5 + 1; sub_D220E4((unsigned __int8 **)(a1 + 24)); v6 = *(unsigned __int8 **)(a1 + 24); goto LABEL_9; } v6 = *(unsigned __int8 **)(a1 + 24); v8 = *v6; if ( v8 == 110 ) { *(_QWORD *)(a1 + 24) = v6 + 1; LOBYTE(v8) = *++v6; } if ( (unsigned __int8)(v8 - 48) > 9u ) { LABEL_9: v7 = *v6; goto LABEL_10; } do { *(_QWORD *)(a1 + 24) = ++v6; v7 = *v6; } while ( (unsigned __int8)(v7 - 48) <= 9u ); LABEL_10: if ( v7 != 95 ) return 0; *(_QWORD *)(a1 + 24) = v6 + 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source