// // IDNameBrowserPopup::updateConflictLabel from 0xcde204 to 0xcde4a4 (672 bytes) // // 8 xrefs: // > IDNameBrowserPopup::onFormArrowLeft @ 0xcde4d8 // > IDNameBrowserPopup::onFormArrowRight @ 0xcde520 // > IDNameBrowserPopup::onFormNextFree @ 0xcde638 // > IDNameBrowserPopup::onEditRow @ 0xcdec70 // > IDNameBrowserPopup::textChanged @ 0xce3a58 // > IDNameBrowserPopup::onDeleteRow @ 0xce3b68 // > IDNameBrowserPopup::onFormAdd @ 0xce3e6c // > @ 0xdddb8 // // This function is hookable on this platform (idp: arm, 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 13:06:34 +0000 // __int64 __fastcall IDNameBrowserPopup::updateConflictLabel(IDNameBrowserPopup *this) { GameManager *v2; // x0 GameManager *v3; // x0 GameManager *v4; // x0 LevelSettingsObject *v5; // x24 int FormID; // w22 CCTextInputNode *v7; // x0 const char *v8; // x4 int IDByName; // w0 __int64 v11[3]; // [xsp+48h] [xbp+48h] BYREF __int64 v12; // [xsp+60h] [xbp+60h] BYREF __int64 v13; // [xsp+68h] [xbp+68h] void *v14; // [xsp+70h] [xbp+70h] char s[128]; // [xsp+78h] [xbp+78h] BYREF v2 = *((GameManager **)this + 91); if ( !v2 ) return _stack_chk_guard; v3 = *(GameManager **)(GameManager::sharedState(v2) + 552); if ( !v3 || (v4 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v3) + 552) + 3272LL)) == nullptr ) { (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 91) + 928LL))(*((_QWORD *)this + 91), &byte_11B8890); return _stack_chk_guard; } v5 = *(LevelSettingsObject **)(*(_QWORD *)(GameManager::sharedState(v4) + 552) + 3272LL); FormID = IDNameBrowserPopup::getFormID(this); v7 = *((CCTextInputNode **)this + 90); if ( v7 ) { CCTextInputNode::getString(v7, &v12); } else { v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, &byte_11B8890, 0); } LevelSettingsObject::sanitizeIDName((char *)&v12, v11); if ( (v12 & 1) != 0 ) operator delete(v14); if ( (v11[0] & 1) != 0 ) { if ( !v11[1] ) goto LABEL_10; } else if ( !(LOBYTE(v11[0]) >> 1) ) { goto LABEL_10; } IDByName = LevelSettingsObject::findIDByName(v5, (__int64)v11, *((_DWORD *)this + 169)); if ( FormID != IDByName && IDByName > 0 ) { snprintf(s, 0x40u, "Name used by ID %d", IDByName); (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 91) + 928LL))(*((_QWORD *)this + 91), s); goto LABEL_17; } LABEL_10: if ( FormID > 0 ) { LevelSettingsObject::getIDName(v5, FormID, *((_DWORD *)this + 169), &v12); if ( (v12 & 1) != 0 ) { if ( v13 ) { v8 = (const char *)v14; LABEL_14: snprintf(s, 0x80u, "ID %d already named \"%s\" - Add will rename it", FormID, v8); (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 91) + 928LL))(*((_QWORD *)this + 91), s); goto LABEL_15; } } else { v8 = (char *)&v12 + 1; if ( (int)(unsigned __int8)v12 >> 1 ) goto LABEL_14; } (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 91) + 928LL))(*((_QWORD *)this + 91), &byte_11B8890); LABEL_15: if ( (v12 & 1) != 0 ) operator delete(v14); goto LABEL_17; } (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 91) + 928LL))(*((_QWORD *)this + 91), &byte_11B8890); LABEL_17: if ( (v11[0] & 1) != 0 ) operator delete((void *)v11[2]); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source