// // LevelEditorLayer::redoLastAction from 0x1403f2fa0 to 0x1403f301d (125 bytes) // // 5 xrefs: // > EditorUI::redoLastAction @ 0x1401b3c52 // > EditorUI::handleEditorAction @ 0x1401c233b // > LevelEditorLayer::handleAction @ 0x1403f2f3b // > @ 0x140925430 // > @ 0x14092543c // // 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:31:48 +0000 // void __fastcall LevelEditorLayer::redoLastAction(__int64 a1) { __int64 v2; // rax int v3; // ecx int v4; // eax int v5; // ecx v2 = cocos2d::CCDirector::sharedDirector(a1); if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 176LL))(v2) + 157) ) { ++*(_DWORD *)(a1 + 15428); v3 = *(_DWORD *)(a1 + 15504); if ( v3 >= 0 ) { v4 = *(_DWORD *)(a1 + 15440) - v3; v5 = 0; if ( v4 > 1 ) { do { if ( v5 >= 7 ) break; v4 = (unsigned int)v4 >> 1; ++v5; } while ( (unsigned int)v4 > 1 ); } ++*(_DWORD *)(a1 + 4LL * v5 + 15472); } *(_DWORD *)(a1 + 15504) = *(_DWORD *)(a1 + 15440); } LevelEditorLayer::handleAction(a1, 0, *(cocos2d::CCArray **)(a1 + 14920)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source