// // sub_733048 from 0x733048 to 0x73319c (340 bytes) // // 12 xrefs: // > AccountReviewPopup::updateCard @ 0x738526 // > AccountReviewPopup::updateCard @ 0x73869a // > AccountReviewPopup::updateCard @ 0x738718 // > AccountReviewPopup::updateCard @ 0x738782 // > AccountReviewPopup::updateCard @ 0x7388be // > AccountReviewPopup::updateCard @ 0x7388ea // > AccountReviewPopup::updateCard @ 0x738c20 // > AccountReviewPopup::updateCard @ 0x738c6c // > AccountReviewPopup::updateCard @ 0x738cd0 // > AccountReviewPopup::updateCard @ 0x738d2a // > AccountReviewPopup::updateCard @ 0x738eb8 // > AccountReviewPopup::updateCard @ 0x738ee6 // // 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 11:58:22 +0000 // int __fastcall sub_733048(int **a1, int a2, int a3) { int *v4; // r5 int v5; // r4 unsigned __int8 v6; // r3^2 int v7; // r4 unsigned int v8; // r7 unsigned int v9; // r6 unsigned int v10; // r7 int v11; // r6 int v12; // r4 int v13; // r7 unsigned __int8 v14; // r3^2 char *v15; // r11 char *v16; // lr int v17; // r12 int v18; // r6 char *i; // r3 int v20; // r1 int v21; // r2 void *v22; // r6 int v23; // r4 int v26[3]; // [sp+Ch] [bp-18h] BYREF __int16 v27; // [sp+18h] [bp-Ch] unsigned __int8 v28; // [sp+1Ah] [bp-Ah] char v29; // [sp+1Bh] [bp-9h] std::string::basic_string(v26, a2); v4 = *a1; v27 = a3; v28 = BYTE2(a3); v29 = -1; v5 = v4[1]; if ( v5 != v4[2] ) { if ( v5 ) { std::string::basic_string((int *)v4[1], (int)v26); v6 = v28; *(_WORD *)(v5 + 12) = v27; *(_WORD *)(v5 + 14) = __PAIR16__(v29, v6); } v4[1] += 16; return std::string::~string((int)v26); } v7 = v5 - *v4; v8 = v7 >> 4; v9 = (v7 >> 4) + 1; if ( v9 >= 0x10000000 ) sub_38A7B0(); if ( v8 > 0x7FFFFFE ) { v10 = 0xFFFFFFF; } else { v10 = 2 * v8; if ( v10 < v9 ) v10 = (v7 >> 4) + 1; if ( !v10 ) { v11 = 0; goto LABEL_15; } } v11 = operator new(16 * v10); LABEL_15: v12 = v11 + v7; v13 = v11 + 16 * v10; if ( v12 ) { std::string::basic_string((int *)v12, (int)v26); v14 = v28; *(_WORD *)(v12 + 12) = v27; *(_WORD *)(v12 + 14) = __PAIR16__(v29, v14); } v15 = (char *)*v4; v16 = (char *)v4[1]; v17 = v12 + 16; v18 = v12; for ( i = v16; i != v15; i -= 16 ) { v18 -= 16; if ( v18 ) { v20 = *((_DWORD *)i - 3); v21 = *((_DWORD *)i - 2); *(_DWORD *)v18 = *((_DWORD *)i - 4); *(_DWORD *)(v18 + 4) = v20; *(_DWORD *)(v18 + 8) = v21; *((_DWORD *)i - 4) = 0; *((_DWORD *)i - 3) = 0; *((_DWORD *)i - 2) = 0; *(_WORD *)(v18 + 12) = *((_WORD *)i - 2); *(_BYTE *)(v18 + 14) = *(i - 2); *(_BYTE *)(v18 + 15) = *(i - 1); } } v22 = (void *)*v4; v4[2] = v13; *v4 = v12 - 16 * ((unsigned int)(v16 - i) >> 4); v23 = v4[1]; v4[1] = v17; while ( v22 != (void *)v23 ) { v23 -= 16; std::string::~string(v23); } if ( v22 ) operator delete(v22); return std::string::~string((int)v26); }
GD Web Decomp Icon

GD Web Decomp

Raw Source