// // sub_84D530 from 0x84d530 to 0x84d63c (268 bytes) // // 1 xrefs: // > sub_851270 @ 0x851408 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:02:29 +0000 // int __fastcall sub_84D530(char *a1, _DWORD *a2, int a3, _DWORD *a4, int *a5) { time_t v8; // r0 time_t v9; // r9 char *v10; // r0 char *v11; // r4 int v12; // r3 int v13; // r3 int *v14; // r0 int *v15; // r7 int v16; // r0 int v17; // r1 int v18; // r2 int v20; // [sp+18h] [bp-1Ch] _DWORD v22[5]; // [sp+20h] [bp-14h] BYREF v8 = time(nullptr); v20 = *(_DWORD *)(a3 + 20) + 48; v9 = v8; v10 = (char *)off_D200AC(v20); if ( v10 ) { v11 = v10; memset(v10, 0, v20); sub_8346C0(v11 + 16, *(_DWORD *)(a3 + 20) + 32, byte_C20A10, 0, 0, 0, 0); sub_84FEF4( (v9 - 1240428288) * (_DWORD)&loc_989680, ((v9 + 0x2B6109100LL) * (unsigned __int64)(unsigned int)&loc_989680) >> 32, v11 + 24); v12 = a2[1]; *((_DWORD *)v11 + 8) = *a2; *((_DWORD *)v11 + 9) = v12; memcpy(v11 + 44, *(const void **)(a3 + 16), *(_DWORD *)(a3 + 20)); v13 = *(_DWORD *)(a3 + 12); *((_DWORD *)v11 + 2) = *(_DWORD *)(a3 + 8); *((_DWORD *)v11 + 3) = v13; v14 = sub_84B8A8((int)&off_D132E4, a1, 0x10u); v15 = v14; if ( v14 ) { sub_84B980(v14); sub_84B990(v15, (int)v22); v16 = v22[0]; v17 = v22[1]; v18 = v22[2]; *((_DWORD *)v11 + 3) = v22[3]; *(_DWORD *)v11 = v16; *((_DWORD *)v11 + 2) = v18; *((_DWORD *)v11 + 1) = v17; *a4 = v11; *a5 = v20; return 0; } off_D200B0(v11); } return 27; }
GD Web Decomp Icon

GD Web Decomp

Raw Source