// // sub_100742864 from 0x100742864 to 0x100742aac (584 bytes) // // 2 xrefs: // > sub_100742368 @ 0x1007423d0 // > sub_100742608 @ 0x1007426b4 // // 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:21 +0000 // __int64 __fastcall sub_100742864(_DWORD *a1) { pid_t v2; // w0 __int64 v3; // x8 int *v4; // x9 __int64 v5; // x22 int *v6; // x23 __int64 v7; // x19 int v8; // w0 __int16 v9; // w2 int v10; // w4 int v11; // w0 __int64 i; // x8 sub_1006AE2F8(9, 30, (__int64)"e_aep.c", 874); v2 = getpid(); if ( dword_100A0ED48 == v2 ) { v3 = 0; v4 = &dword_100A0ED98; do { if ( *v4 == 1 ) { v7 = 0; *v4 = 2; *a1 = *(_DWORD *)&byte_100A0ED40[8 * v3 + 92]; goto LABEL_29; } ++v3; v4 += 2; } while ( v3 <= 255 ); v5 = 0; v6 = &dword_100A0ED98; while ( *v6 ) { ++v5; v6 += 2; if ( v5 > 255 ) { v7 = 268435457; goto LABEL_29; } } v7 = off_100A0ED78(a1); if ( (_DWORD)v7 ) { v11 = dword_100A0ED44; if ( !dword_100A0ED44 ) { v11 = sub_100707AE4(); dword_100A0ED44 = v11; } sub_100706FB0(v11, 102, 115, (__int64)"e_aep.c", 969); } else { v7 = 0; *v6 = 2; *(_DWORD *)&byte_100A0ED40[8 * v5 + 92] = *a1; } } else { dword_100A0ED48 = v2; off_100A0ED60(); v7 = off_100A0ED68(0); if ( (_DWORD)v7 ) { v8 = dword_100A0ED44; if ( !dword_100A0ED44 ) { v8 = sub_100707AE4(); dword_100A0ED44 = v8; } v9 = 107; v10 = 900; } else { v7 = off_100A0ED70(sub_100742AAC, sub_100742AC0, sub_100742AEC); if ( (_DWORD)v7 ) { v8 = dword_100A0ED44; if ( !dword_100A0ED44 ) { v8 = sub_100707AE4(); dword_100A0ED44 = v8; } v9 = 114; v10 = 913; } else { for ( i = 0; i != 2048; i += 8 ) *(_QWORD *)&byte_100A0ED40[i + 88] = 0; v7 = off_100A0ED78(a1); if ( !(_DWORD)v7 ) { v7 = 0; dword_100A0ED98 = 2; dword_100A0ED9C = *a1; goto LABEL_29; } v8 = dword_100A0ED44; if ( !dword_100A0ED44 ) { v8 = sub_100707AE4(); dword_100A0ED44 = v8; } v9 = 115; v10 = 938; } } sub_100706FB0(v8, 102, v9, (__int64)"e_aep.c", v10); dword_100A0ED48 = 0; } LABEL_29: sub_1006AE2F8(10, 30, (__int64)"e_aep.c", 980); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source