// // sub_732820 from 0x732820 to 0x7328d4 (180 bytes) // // 2 xrefs: // > AccountReviewPopup::updateCard @ 0x7390c8 // > AccountReviewPopup::updateCard @ 0x73910c // // 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:21 +0000 // int __fastcall sub_732820(int a1, unsigned __int8 *a2) { float v2; // s0 int v3; // s1 int result; // r0 int v7; // r2 int v8; // r2 void (__fastcall *v9)(int, char *); // r8 size_t v10; // r2 char *v11; // r1 float v12[2]; // [sp+0h] [bp-18h] BYREF unsigned __int8 v13; // [sp+8h] [bp-10h] BYREF char v14; // [sp+9h] [bp-Fh] BYREF char *v15; // [sp+10h] [bp-8h] (*(void (__fastcall **)(int, int))(*(_DWORD *)a1 + 80))(a1, v3); result = (*(int (__fastcall **)(float *, int))(*(_DWORD *)a1 + 168))(v12, a1); if ( v12[0] > v2 ) { v7 = *a2; if ( (v7 & 1) != 0 ) v8 = *((_DWORD *)a2 + 1); else v8 = v7 >> 1; v9 = *(void (__fastcall **)(int, char *))(*(_DWORD *)a1 + 464); v10 = (unsigned int)(float)((float)(unsigned int)v8 * (float)(v2 / v12[0])); if ( v10 > 4 ) v10 -= 4; GameToolbox::singleLineSnippet(&v13, (int)a2, v10); if ( (v13 & 1) != 0 ) v11 = v15; else v11 = &v14; v9(a1, v11); return std::string::~string((int)&v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source