// // DailyLevelNode::onSkipLevel from 0x4d3b70 to 0x4d3c42 (210 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 DailyLevelNode::onSkipLevel(DailyLevelNode *a1, cocos2d::CCObject *a2) { GJTimedLevelType m_type; // r3 cocos2d::CCString *v4; // r0 char *CString; // r0 char *v6; // r1 FLAlertLayer *v7; // r5 char *v8; // [sp+Ch] [bp-10h] BYREF _BYTE v9[4]; // [sp+10h] [bp-Ch] BYREF if ( !a1->m_unkBool ) { v8 = (char *)&unk_ACDDA8; m_type = a1->m_page->m_type; if ( m_type == 1 ) { v6 = "weekly demon"; } else if ( m_type ) { if ( m_type == Event ) v6 = "event level"; else v6 = "NA"; } else { v6 = "daily level"; } sub_7753D4((int)&v8, v6); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"There is a new %s available.\n" "Skip the current level and load the next?", v8); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)v9, CString); v7 = FLAlertLayer::create( (int)&a1->FLAlertLayerProtocol, (int)"Skip level", (int)v9, (int)"Cancel", (int)"Skip", 330.0); sub_774008(v9); v7->show(v7); sub_774008(&v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source