// // sub_79B760 from 0x79b760 to 0x79b808 (168 bytes) // // 2 xrefs: // > LevelStatsInfoPopup::buildInfoText @ 0x79c0e4 // > LevelStatsInfoPopup::buildInfoText @ 0x79c154 // // 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:59:49 +0000 // int *__fastcall sub_79B760(int *a1, int a2, int a3) { int *v4; // r4 size_t v5; // r2 const char *v6; // r1 int v7; // r5 int v8; // r1 int v9; // r3 cocos2d::CCString *v10; // r0 const char *CString; // r0 const char *v12; // r5 cocos2d::CCString *v13; // r0 size_t v14; // r0 cocos2d::CCString *v15; // r0 const char *v16; // r0 const char *v17; // r6 size_t v18; // r0 v4 = a1; if ( a2 > 0 ) { v7 = a2 / 60 % 60; v8 = a2 % 60; v9 = a2 % 60; if ( a2 / 3600 ) { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%ih %im %is", (const char *)(a2 / 3600), v7, v9); CString = (const char *)cocos2d::CCString::getCString(v10); *v4 = 0; v4[1] = 0; v4[2] = 0; v12 = CString; } else { if ( !v7 ) { v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%is", (const char *)v8, a3, v9); v16 = (const char *)cocos2d::CCString::getCString(v15); *v4 = 0; v4[1] = 0; v4[2] = 0; v17 = v16; v18 = strlen(v16); v6 = v17; v5 = v18; a1 = v4; goto LABEL_9; } v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%im %is", (const char *)v7, a2 % 60); CString = (const char *)cocos2d::CCString::getCString(v13); *v4 = 0; v4[1] = 0; v4[2] = 0; v12 = CString; } v14 = strlen(CString); v6 = v12; v5 = v14; a1 = v4; } else { v5 = 2; *a1 = 0; a1[1] = 0; v6 = "NA"; a1[2] = 0; } LABEL_9: std::string::__init(a1, v6, v5); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source