// // sub_100454364 from 0x100454364 to 0x1004544e4 (384 bytes) // // 1 xrefs: // > sub_100452DF4 @ 0x100452e48 // // 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:05:22 +0000 // __int64 __fastcall sub_100454364(__int64 result, unsigned __int8 *a2, unsigned __int64 a3) { unsigned int v3; // w9 int v4; // w11 int v5; // w10 int v6; // w9 int v7; // w8 _BOOL4 v9; // w14 int v10; // w13 bool v12; // w14 bool v13; // zf _BOOL4 v14; // w12 bool v15; // zf int v16; // w13 unsigned int v19; // w8 if ( (int)result > 6 ) { if ( (_DWORD)result == 8 ) v3 = 5; else v3 = result; if ( (_DWORD)result == 7 ) return 5; else return v3; } else { if ( (_DWORD)result ) { if ( (_DWORD)result == 4 ) return 2; else return (unsigned int)result; } if ( a3 < 4 ) return 1; v4 = *a2; v5 = a2[1]; v6 = a2[2]; v7 = a2[3]; if ( !(v5 | v4) && v6 == 254 && v7 == 255 ) return 6; v9 = v4 == 255 && v5 == 254; v10 = v7 | v6; if ( v9 && v10 == 0 ) return 5; v12 = v4 == 254 && v5 == 255 || v9; if ( v4 == 254 && v5 == 255 ) result = 3; else result = 2; if ( v12 ) return result; if ( v4 == 239 && v5 == 187 && v6 == 191 ) return 1; if ( !(v5 | v4 | v6) && v7 == 60 ) return 6; v13 = v4 == 60 && v5 == 0; v14 = v13; if ( v13 && !v10 ) return 5; if ( *a2 ) v15 = 0; else v15 = v5 == 60; v16 = v15; if ( v15 && !a2[2] && v7 == 63 ) { return 3; } else if ( v6 == 63 && v7 == 0 && v14 ) { return 2; } else { result = 1; if ( v4 != 60 || v5 != 63 || v6 != 120 || v7 != 109 ) { if ( v14 ) v19 = 2; else v19 = 1; if ( v16 ) return 3; else return v19; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source