// // sub_73293C from 0x73293c to 0x7329d2 (150 bytes) // // 2 xrefs: // > AccountReviewPopup::buildHistoryRows @ 0x737938 // > AccountReviewPopup::updateCard @ 0x738dc4 // // 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_73293C(int *a1, const char *a2) { int *v2; // r4 size_t v3; // r2 const char *v4; // r1 int v5; // r1 __int16 *v6; // r2 char *v7; // r0 cocos2d::CCString *v8; // r0 const char *CString; // r0 const char *v10; // r5 size_t v11; // r0 v2 = a1; if ( (int)a2 > 0 ) { if ( (int)a2 % 1440 ) { if ( (int)a2 % 60 ) { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i Min", a2); goto LABEL_15; } v5 = (int)a2 / 60; if ( v5 == 1 ) v6 = (__int16 *)&unk_B6B226; else v6 = &a1i2r3e45s789g[8]; v7 = "%i Hour%s"; } else { v5 = (int)a2 / 1440; if ( v5 == 1 ) v6 = (__int16 *)&unk_B6B226; else v6 = &a1i2r3e45s789g[8]; v7 = "%i Day%s"; } v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)v7, (const char *)v5, v6); LABEL_15: CString = (const char *)cocos2d::CCString::getCString(v8); *v2 = 0; v2[1] = 0; v2[2] = 0; v10 = CString; v11 = strlen(CString); v4 = v10; v3 = v11; a1 = v2; goto LABEL_16; } v3 = 0; *a1 = 0; a1[1] = 0; v4 = (const char *)&unk_B6B226; a1[2] = 0; LABEL_16: std::string::__init(a1, v4, v3); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source