// // EditLevelLayer::onLevelInfo from 0x3b5b54 to 0x3b5c44 (240 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EditLevelLayer::onLevelInfo(EditLevelLayer *a1, cocos2d::CCObject *a2) { GJGameLevel *m_level; // r1 cocos2d::CCString *v4; // r0 char *CString; // r0 FLAlertLayer *v6; // r7 char *v7; // [sp+Ch] [bp-Ch] BYREF char *v8; // [sp+10h] [bp-8h] BYREF sub_775C20(&v8, &a1->m_level->m_levelName); m_level = a1->m_level; v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s\n" "Total Attempts: %i\n" "Total Jumps: %i\n" "Objects: %i", v8, m_level->m_attempts.random - m_level->m_attempts.seed, m_level->m_jumps.random - m_level->m_jumps.seed, m_level->m_objectCount.random - m_level->m_objectCount.seed); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)&v7, CString); sub_774008(&v8); if ( a1->m_level->m_objectCount.random - a1->m_level->m_objectCount.seed > 40000 ) sub_774544((int)&v7, " (high)"); sub_776584((int)&v8, v7); v6 = FLAlertLayer::create(0, (int)"Level Stats", (int)&v8, (int)"OK", 0, 300.0); sub_774008(&v8); v6->show(v6); sub_774008(&v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source