// // AccountBanPopup::banStateShort from 0xc90d08 to 0xc90e50 (328 bytes) // // 4 xrefs: // > AccountReviewPopup::updateCard @ 0xc4993c // > AccountReviewPopup::updateCard @ 0xc49a4c // > AccountReviewPopup::updateCard @ 0xc4ab34 // > @ 0x61b40 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:05:47 +0000 // __int64 *__usercall AccountBanPopup::banStateShort@(__int64 *__return_ptr a1@, AccountBanPopup *this@) { unsigned __int64 v3; // x1 cocos2d::CCString *v4; // x0 const char *CString; // x0 size_t v6; // x0 char *v8; // [xsp+28h] [xbp+28h] if ( (int)this < 0 ) { *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, "perm", 4u); return a1; } if ( (_DWORD)this ) { if ( (int)this > 86399 ) { v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%id", (const char *)(unsigned int)((int)this / 86400)); } else if ( (int)this > 3599 ) { v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%ih", (const char *)(unsigned int)((int)this / 3600)); } else { v3 = 1; if ( (int)this > 119 ) v3 = (unsigned int)((int)this / 60); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%im", (const char *)v3); } CString = (const char *)cocos2d::CCString::getCString(v4); *a1 = 0; a1[1] = 0; a1[2] = 0; v8 = (char *)CString; v6 = strlen(CString); std::string::__init(a1, v8, v6); return a1; } *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, &byte_11B8890, 0); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source