// // DailyLevelNode::onSkipLevel from 0x608d38 to 0x608e22 (234 bytes) // // 0 xrefs: // // 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:54:46 +0000 // int __fastcall DailyLevelNode::onSkipLevel(int this, cocos2d::CCObject *a2) { char *v2; // r5 int v3; // r7 int v4; // r3 int v5; // r3 int v6; // r7 cocos2d::CCString *v7; // r0 char *v8; // r1 const char *CString; // r8 size_t v10; // r0 int *v11; // r7 int v12[2]; // [sp+Ch] [bp-1Ch] BYREF char *v13; // [sp+14h] [bp-14h] int v14[3]; // [sp+18h] [bp-10h] BYREF v2 = (char *)*(unsigned __int8 *)(this + 292); v3 = this; if ( !*(_BYTE *)(this + 292) ) { v4 = *(_DWORD *)(this + 272); v12[0] = *(unsigned __int8 *)(this + 292); v12[1] = (int)v2; v5 = *(_DWORD *)(v4 + 556); v13 = v2; if ( v5 == 1 ) { v8 = "weekly demon"; } else if ( v5 ) { if ( v5 == 2 ) v8 = "event level"; else v8 = "NA"; } else { v8 = "daily level"; } std::string::assign(v12, v8); v6 = v3 + 264; if ( (v12[0] & 1) != 0 ) v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"There is a new %s available.\n" "Skip the current level and load the next?", v13); else v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"There is a new %s available.\n" "Skip the current level and load the next?", (const char *)v12 + 1); CString = (const char *)cocos2d::CCString::getCString(v7); memset(v14, 0, sizeof(v14)); v10 = strlen(CString); std::string::__init(v14, CString, v10); v11 = FLAlertLayer::create( v6, (cocos2d::CCLabelBMFont *)"Skip level", (int)v14, (ButtonSprite *)"Cancel", (ButtonSprite *)"Skip", 330.0); std::string::~string((int)v14); (*(void (__fastcall **)(int *))(*v11 + 656))(v11); return std::string::~string((int)v12); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source