// // sub_829A24 from 0x829a24 to 0x829b5e (314 bytes) // // 0 xrefs: // // 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:01:59 +0000 // int __fastcall sub_829A24(int a1, int a2) { int v3; // r7 void *v4; // r0 void **v5; // r0 int v6; // r5 void (*v7)(void *); // r3 void *v8; // r0 void (*v9)(void *); // r3 void *v10; // r0 void (*v11)(void *); // r3 void *v12; // r0 int v14; // r6 const char *v15; // r0 v3 = a1 + 1088; if ( a2 ) { *(_BYTE *)(a1 + 1165) = 0; v4 = *(void **)(a1 + 1144); if ( !v4 ) goto LABEL_11; goto LABEL_8; } if ( *(_BYTE *)(a1 + 1165) ) { if ( sub_84A864(a1 + 1088, "%s", "QUIT") ) { v14 = *(_DWORD *)a1; v15 = (const char *)sub_842140(); sub_828178(v14, "Failure sending QUIT command: %s", v15); *(_BYTE *)(a1 + 1165) = 0; sub_83E124(a1, 1); *(_DWORD *)(a1 + 1192) = 0; } else { *(_DWORD *)(a1 + 1192) = 34; while ( !sub_84A600(v3, 1) && *(_DWORD *)(a1 + 1192) ) ; } } v4 = *(void **)(a1 + 1144); if ( v4 ) { LABEL_8: if ( v4 == *(void **)(*(_DWORD *)a1 + 34648) ) { *(_DWORD *)(*(_DWORD *)a1 + 34648) = 0; v4 = *(void **)(a1 + 1144); } off_D200B0(v4); *(_DWORD *)(a1 + 1144) = 0; } LABEL_11: v5 = *(void ***)(a1 + 1148); if ( v5 ) { if ( *(int *)(a1 + 1152) > 0 ) { v6 = 0; do { off_D200B0(v5[v6]); *(_DWORD *)(*(_DWORD *)(a1 + 1148) + 4 * v6++) = 0; v5 = *(void ***)(a1 + 1148); } while ( v6 < *(_DWORD *)(a1 + 1152) ); } off_D200B0(v5); *(_DWORD *)(a1 + 1148) = 0; *(_DWORD *)(a1 + 1152) = 0; } off_D200B0(*(void **)(a1 + 1160)); v7 = off_D200B0; v8 = *(void **)(a1 + 1224); *(_DWORD *)(a1 + 1160) = 0; v7(v8); v9 = off_D200B0; v10 = *(void **)(a1 + 1172); *(_DWORD *)(a1 + 1224) = 0; v9(v10); v11 = off_D200B0; v12 = *(void **)(a1 + 1208); *(_DWORD *)(a1 + 1172) = 0; v11(v12); *(_DWORD *)(a1 + 1208) = 0; sub_84ABC8(v3); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source