// // sub_1002417F0 from 0x1002417f0 to 0x1002418dc (236 bytes) // // 3 xrefs: // > sub_1002418DC @ 0x10024192c // > sub_100241964 @ 0x1002419d0 // > sub_100241B24 @ 0x100241b98 // // 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:01:24 +0000 // bool __fastcall sub_1002417F0(unsigned __int8 *a1, int a2) { __int64 v2; // x8 unsigned __int8 *v3; // x9 int v4; // t1 int v5; // t1 unsigned int v6; // w9 unsigned int v7; // w8 v2 = 0; v3 = &a1[a2]; if ( a2 <= 2 ) { if ( a2 == 1 ) { v7 = *a1; goto LABEL_16; } if ( a2 != 2 ) return v2; LABEL_9: if ( (char)*(v3 - 1) > -65 ) return 0; v6 = *(v3 - 1); v7 = *a1; if ( v7 <= 0xEF ) { if ( v7 != 224 ) { if ( v7 == 237 ) { if ( v6 <= 0x9F ) { v7 = 237; return v7 < 0xF5; } return 0; } goto LABEL_16; } if ( v6 >= 0xA0 ) { v7 = 224; return v7 < 0xF5; } return 0; } if ( v7 == 240 ) { if ( v6 >= 0x90 ) { v7 = 240; return v7 < 0xF5; } return 0; } if ( v7 == 244 ) { if ( v6 <= 0x8F ) { v7 = 244; return v7 < 0xF5; } return 0; } LABEL_16: if ( (char)v7 >= -62 ) return v7 < 0xF5; return 0; } if ( a2 == 3 ) { LABEL_8: v5 = (char)*--v3; if ( v5 > -65 ) return 0; goto LABEL_9; } if ( a2 == 4 ) { v4 = (char)*--v3; if ( v4 > -65 ) return 0; goto LABEL_8; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source