// // sub_10072D4F4 from 0x10072d4f4 to 0x10072d9a8 (1204 bytes) // // 5 xrefs: // > sub_100730D9C @ 0x100730dd4 // > sub_100730D9C @ 0x100730fdc // > sub_100732550 @ 0x100732574 // > sub_100732774 @ 0x1007327ac // > sub_100735204 @ 0x10073522c // // This function is hookable on this platform (idp: arm, 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 11:13:11 +0000 // void *__fastcall sub_10072D4F4(char *a1) { _BYTE *v1; // x0 void *v2; // x19 char *v3; // x21 int v4; // w26 char *v5; // x20 _BYTE *i; // x25 unsigned __int64 v7; // x8 unsigned __int8 v9; // w8 int v11; // t1 unsigned __int8 v12; // w8 int v14; // t1 char *v15; // x27 unsigned __int8 v16; // w8 int v18; // t1 size_t v19; // x0 size_t v20; // x26 __int64 v21; // x0 size_t v23; // x0 size_t v24; // x21 __int64 v25; // x0 size_t v27; // x0 size_t v28; // x21 __int64 v29; // x0 __int16 v31; // w2 int v32; // w4 unsigned __int8 v34; // w8 int v36; // t1 char *v37; // x8 size_t v38; // x0 size_t v39; // x23 __int64 v40; // x0 char *v42; // x0 char *v43; // x1 void *v44; // [xsp+8h] [xbp-58h] BYREF v44 = nullptr; v1 = sub_100700290(a1); v2 = v1; if ( !v1 ) { v31 = 65; v32 = 289; goto LABEL_73; } v3 = nullptr; v4 = 1; v5 = v1; for ( i = v1; ; ++i ) { v7 = (unsigned __int8)*i; if ( v7 <= 0xD && ((1LL << v7) & 0x2401) != 0 ) break; if ( v4 == 2 ) { if ( (_DWORD)v7 == 44 ) { *i = 0; v9 = *v5; if ( !*v5 ) goto LABEL_70; while ( (char)v9 < 0 ? __maskrune(v9, 0x4000u) : _DefaultRuneLocale.__runetype[v9] & 0x4000 ) { v11 = (unsigned __int8)*++v5; v9 = v11; if ( !v11 ) goto LABEL_70; } if ( !*v5 ) goto LABEL_70; v19 = strlen(v5); v20 = v19 - 1; if ( v19 != 1 ) { while ( 1 ) { v21 = (unsigned __int8)v5[v20]; if ( !(v5[v20] < 0 ? __maskrune(v21, 0x4000u) : _DefaultRuneLocale.__runetype[v21] & 0x4000) ) break; if ( !--v20 ) goto LABEL_53; } v5[v20 + 1] = 0; } LABEL_53: if ( !*v5 ) { LABEL_70: v31 = 109; v32 = 336; goto LABEL_73; } sub_10072CE4C(v3, v5, (void ***)&v44); v3 = nullptr; v15 = i + 1; v4 = 1; } else { v4 = 2; v15 = v5; } } else if ( (_DWORD)v7 == 44 ) { *i = 0; v12 = *v5; if ( !*v5 ) goto LABEL_71; while ( (char)v12 < 0 ? __maskrune(v12, 0x4000u) : _DefaultRuneLocale.__runetype[v12] & 0x4000 ) { v14 = (unsigned __int8)*++v5; v12 = v14; if ( !v14 ) goto LABEL_71; } if ( !*v5 ) goto LABEL_71; v23 = strlen(v5); v24 = v23 - 1; if ( v23 != 1 ) { while ( 1 ) { v25 = (unsigned __int8)v5[v24]; if ( !(v5[v24] < 0 ? __maskrune(v25, 0x4000u) : _DefaultRuneLocale.__runetype[v25] & 0x4000) ) break; if ( !--v24 ) goto LABEL_64; } v5[v24 + 1] = 0; } LABEL_64: if ( !*v5 ) { LABEL_71: v31 = 108; v32 = 319; goto LABEL_73; } v15 = i + 1; sub_10072CE4C(v5, nullptr, (void ***)&v44); v4 = 1; v3 = v5; } else if ( (_DWORD)v7 == 58 ) { *i = 0; v16 = *v5; if ( !*v5 ) goto LABEL_72; while ( (char)v16 < 0 ? __maskrune(v16, 0x4000u) : _DefaultRuneLocale.__runetype[v16] & 0x4000 ) { v18 = (unsigned __int8)*++v5; v16 = v18; if ( !v18 ) goto LABEL_72; } if ( !*v5 ) goto LABEL_72; v27 = strlen(v5); v28 = v27 - 1; if ( v27 != 1 ) { while ( 1 ) { v29 = (unsigned __int8)v5[v28]; if ( !(v5[v28] < 0 ? __maskrune(v29, 0x4000u) : _DefaultRuneLocale.__runetype[v29] & 0x4000) ) break; if ( !--v28 ) goto LABEL_67; } v5[v28 + 1] = 0; } LABEL_67: if ( !*v5 ) { LABEL_72: v31 = 108; v32 = 306; goto LABEL_73; } v15 = i + 1; v4 = 2; v3 = v5; } else { v4 = 1; v15 = v5; } v5 = v15; } v34 = *v5; if ( *v5 ) { while ( (char)v34 < 0 ? __maskrune(v34, 0x4000u) : _DefaultRuneLocale.__runetype[v34] & 0x4000 ) { v36 = (unsigned __int8)*++v5; v34 = v36; if ( !v36 ) { v37 = nullptr; goto LABEL_95; } } if ( *v5 ) { v38 = strlen(v5); v39 = v38 - 1; if ( v38 != 1 ) { while ( 1 ) { v40 = (unsigned __int8)v5[v39]; if ( !(v5[v39] < 0 ? __maskrune(v40, 0x4000u) : _DefaultRuneLocale.__runetype[v40] & 0x4000) ) break; if ( !--v39 ) goto LABEL_92; } v5[v39 + 1] = 0; } LABEL_92: if ( *v5 ) v37 = v5; else v37 = nullptr; } else { v37 = nullptr; } } else { v37 = nullptr; } LABEL_95: if ( v4 != 2 ) { if ( v37 ) { v42 = v37; v43 = nullptr; goto LABEL_100; } v31 = 108; v32 = 364; LABEL_73: sub_100706FB0(34, 109, v31, (__int64)"v3_utl.c", v32); sub_1006AEDAC(v2); sub_100704B38(v44, (void (*)(void))sub_10072CF80); return nullptr; } if ( !v37 ) { v31 = 109; v32 = 354; goto LABEL_73; } v42 = v3; v43 = v37; LABEL_100: sub_10072CE4C(v42, v43, (void ***)&v44); sub_1006AEDAC(v2); return v44; }
GD Web Decomp Icon

GD Web Decomp

Raw Source