// // LevelInfoLayer::cellPerformedAction from 0x49a464 to 0x49a52c (200 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelInfoLayer::cellPerformedAction @ 0x49a53c // // 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:49:44 +0000 // int __fastcall LevelInfoLayer::cellPerformedAction(int a1, int a2, int a3, int a4, int a5) { GJGameLevel *v5; // r3 cocos2d::CCDirector *v6; // r0 int *v7; // r8 int v8; // r3 void (__fastcall *v9)(int *, int, int); // r9 int v10; // r0 int v12[3]; // [sp+Ch] [bp-20h] BYREF int v13[3]; // [sp+18h] [bp-14h] BYREF if ( a3 != 28 || a4 != 1 ) return 0; v5 = *(GJGameLevel **)(a1 + 364); if ( !v5 ) return 0; v6 = (cocos2d::CCDirector *)GJLevelList::addLevelToList(*(GJLevelList **)(a2 + 420), v5); if ( a5 ) v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)a5 + 664))(a5, 0); v7 = *(int **)(cocos2d::CCDirector::sharedDirector(v6) + 220); v8 = *v7; memset(v12, 0, sizeof(v12)); v9 = *(void (__fastcall **)(int *, int, int))(v8 + 232); std::string::__init(v12, "Added to Level List", 0x13u); memset(v13, 0, sizeof(v13)); std::string::__init(v13, &unk_B6B226, 0); v10 = TextAlertPopup::create(v12, 1065353216, 1056964608, 255, v13); v9(v7, v10, 115); std::string::~string((int)v13); std::string::~string((int)v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source