// // sub_47EDE from 0x47ede to 0x47f52 (116 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_47EDE(int a1, __int64 a2, __int64 a3, int a4) { int v5; // r5 bool v6; // zf int result; // r0 int v8; // r1 int v9; // [sp+Ch] [bp-1Ch] BYREF v5 = a2; if ( *(_QWORD *)(a1 + 224) == a2 ) { v6 = *(_QWORD *)(a1 + 232) == a3; if ( *(_QWORD *)(a1 + 232) == a3 ) v6 = a4 == *(unsigned __int8 *)(a1 + 240); if ( v6 ) return 0; } *(_BYTE *)(a1 + 240) = a4; *(_QWORD *)(a1 + 224) = a2; *(_QWORD *)(a1 + 232) = a3; result = (*(int (__fastcall **)(int, _DWORD, int *))(*(_DWORD *)a1 + 144))(a1, 0, &v9); if ( !result ) { if ( v9 ) return sub_A7672(v9, v8, v5); else return 9; } return result; }