// // sub_760360 from 0x760360 to 0x76040c (172 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_760360(int a1, int *a2) { int v2; // r3 int v5; // r7 int v6; // r1 void *v7; // r0 int v8; // r3 int v10; // r2 int v11; // r3 int v12; // r3 unsigned int *v13; // r1 int v14; // r3 v2 = *a2; *(_DWORD *)a1 = *a2; v5 = a2[8]; v6 = *(_DWORD *)(a1 + 48); *(_DWORD *)(a1 + *(_DWORD *)(v2 - 12)) = v5; v7 = (void *)(v6 - 12); *(_DWORD *)(a1 + 8) = a2[9]; *(_DWORD *)(a1 + 12) = &off_AB00A0; if ( (_UNKNOWN *)(v6 - 12) != &unk_ACDDAC ) { if ( &pthread_create ) { v13 = (unsigned int *)(v6 - 4); __dmb(0xFu); do v14 = __ldrex(v13); while ( __strex(v14 - 1, v13) ); __dmb(0xFu); } else { v14 = *(_DWORD *)(v6 - 4); *(_DWORD *)(v6 - 4) = v14 - 1; } if ( v14 <= 0 ) operator delete(v7); } *(_DWORD *)(a1 + 12) = &off_A2E1D8; sub_756898((unsigned int **)(a1 + 40)); v8 = a2[1]; *(_DWORD *)a1 = v8; *(_DWORD *)(a1 + *(_DWORD *)(v8 - 12)) = a2[6]; *(_DWORD *)(a1 + 8) = a2[7]; v10 = a2[4]; v11 = *(_DWORD *)(v10 - 12); *(_DWORD *)(a1 + 8) = v10; *(_DWORD *)(v11 + a1 + 8) = a2[5]; v12 = a2[2]; *(_DWORD *)a1 = v12; *(_DWORD *)(a1 + *(_DWORD *)(v12 - 12)) = a2[3]; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source