// // EditorUI::onUpdateDeleteFilter from 0x1401b1c30 to 0x1401b20c8 (1176 bytes) // // 5 xrefs: // > EditorUI::setupDeleteMenu @ 0x1401f47ba // > EditorUI::setupDeleteMenu @ 0x1401f4874 // > EditorUI::setupDeleteMenu @ 0x1401f490c // > EditorUI::setupDeleteMenu @ 0x1401f4a1f // > @ 0x140919f64 // // 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:27:56 +0000 // // Hidden C++ exception states: #wind=6 __int64 __fastcall EditorUI::onUpdateDeleteFilter(__int64 a1, __int64 a2) { unsigned int v3; // eax unsigned int v4; // edi __int64 v5; // rdi __int64 v6; // rbx __int64 v7; // rbx struct cocos2d::CCString *v8; // rax void *v9; // rcx __int64 v10; // rbx unsigned int v11; // edi __int64 v12; // rbx struct cocos2d::CCString *v13; // rax void *v14; // rcx __int64 v15; // rbx struct cocos2d::CCString *v16; // rax __int64 v17; // rbx __int64 v18; // rbx struct cocos2d::CCString *v19; // rax void *v21; // [rsp+30h] [rbp-50h] void *v22; // [rsp+30h] [rbp-50h] void *v23; // [rsp+30h] [rbp-50h] void *v24; // [rsp+30h] [rbp-50h] void *Src[2]; // [rsp+38h] [rbp-48h] BYREF __int64 v26; // [rsp+48h] [rbp-38h] unsigned __int64 v27; // [rsp+50h] [rbp-30h] void *Block[2]; // [rsp+58h] [rbp-28h] BYREF __int64 v29; // [rsp+68h] [rbp-18h] unsigned __int64 v30; // [rsp+70h] [rbp-10h] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = v3; if ( v3 <= 2 ) { v17 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v24 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v24); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v17 = qword_14090BFD0; } *(_OWORD *)Src = 0; v26 = 3; v27 = 15; LODWORD(Src[0]) = 6256231; sub_140044D80(Src, "0005", 4u); v18 = *(_QWORD *)(v17 + 432); v19 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v4); cocos2d::CCDictionary::setObject(v18, v19, Src); if ( v27 > 0xF ) { v14 = Src[0]; if ( v27 + 1 >= 0x1000 ) { v14 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v14 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_29; } } else if ( v3 == 3 ) { v5 = *(_QWORD *)(a1 + 1568); v6 = qword_14090BFD0; if ( v5 ) { if ( !qword_14090BFD0 ) { v21 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v21); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v6 = qword_14090BFD0; } *(_OWORD *)Block = 0; v29 = 3; v30 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0005", 4u); v7 = *(_QWORD *)(v6 + 432); v8 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 3); cocos2d::CCDictionary::setObject(v7, v8, Block); if ( v30 > 0xF ) { v9 = Block[0]; if ( v30 + 1 >= 0x1000 ) { v9 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } v29 = 0; v30 = 15; LOBYTE(Block[0]) = 0; v10 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v22 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v22); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v10 = qword_14090BFD0; } v11 = *(_DWORD *)(v5 + 1036); *(_OWORD *)Src = 0; v26 = 3; v27 = 15; LODWORD(Src[0]) = 6256231; sub_140044D80(Src, "0006", 4u); v12 = *(_QWORD *)(v10 + 432); v13 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v11); cocos2d::CCDictionary::setObject(v12, v13, Src); if ( v27 > 0xF ) { v14 = Src[0]; if ( v27 + 1 >= 0x1000 ) { v14 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v14 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } LABEL_29: j_j_free(v14); } } else { if ( !qword_14090BFD0 ) { v23 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v23); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v6 = qword_14090BFD0; } *(_OWORD *)Src = 0; v26 = 3; v27 = 15; LODWORD(Src[0]) = 6256231; sub_140044D80(Src, "0005", 4u); v15 = *(_QWORD *)(v6 + 432); v16 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 0); cocos2d::CCDictionary::setObject(v15, v16, Src); if ( v27 > 0xF ) { v14 = Src[0]; if ( v27 + 1 >= 0x1000 ) { v14 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v14 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_29; } } } return EditorUI::updateDeleteButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source