// // LevelInfoLayer::showUpdateAlert from 0x140420eb0 to 0x140420f9f (239 bytes) // // 3 xrefs: // > LevelInfoLayer::levelUpdateFinished @ 0x140420e84 // > LevelInfoLayer::onUpdate @ 0x140424494 // > @ 0x140926804 // // This function is hookable on this platform (idp: pc, 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 11:32:09 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall LevelInfoLayer::showUpdateAlert(__int64 a1, int a2) { int v2; // edx int v3; // edx const char *v4; // rdx size_t v5; // r8 __int64 v6; // rax cocos2d::CCObject *v7; // rbx __int128 v8; // [rsp+50h] [rbp-48h] BYREF __int64 v9; // [rsp+60h] [rbp-38h] __int64 v10; // [rsp+68h] [rbp-30h] _BYTE v11[40]; // [rsp+70h] [rbp-28h] BYREF v2 = a2 - 1; if ( v2 ) { v3 = v2 - 1; if ( v3 ) { if ( v3 != 1 ) return; v4 = "Level has been updated to the latest version."; } else { v4 = "Update your application to update this level."; } } else { v4 = "Level is up to date."; } v8 = 0; v9 = 0; v10 = 0; v5 = -1; do ++v5; while ( v4[v5] ); sub_14003D230(&v8, v4, v5); v6 = sub_14003F4F0((__int64)v11, (__int64)&v8); v7 = FLAlertLayer::create(0, (int)"Update", v6, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)&v8); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v7 + 1064LL))(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source