// // IDNameInput::refreshLabel from 0x793d64 to 0x793efc (408 bytes) // // 9 xrefs: // > SetGroupIDLayer::updateGroupIDLabel @ 0x63b0e8 // > SetupTriggerPopup::updateInputNode @ 0x67ada8 // > FindObjectPopup::onBuildWindowContent @ 0x77b708 // > IDNameInput::initCore @ 0x7945f8 // > IDNameInput::setType @ 0x794a20 // > IDNameInput::idNameBrowserClosed @ 0x794a52 // > IDNameInput::idNameBrowserClosed @ 0x794a72 // > IDNameInput::textChanged @ 0x796c06 // > IDNameInput::textInputClosed @ 0x796dd2 // // 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:59:43 +0000 // GameManager *__fastcall IDNameInput::refreshLabel(GameManager *this) { GameManager *v1; // r4 GameManager *v2; // r0 char *v3; // r1 int v4; // r0 char *v5; // r1 const char *v6; // r0 GameManager *v7; // r0 unsigned int v8; // r9 int v9; // r0 int v10; // r0 int v11; // r1 char *v12; // r2 int v13; // [sp+0h] [bp-2Ch] BYREF int v14; // [sp+4h] [bp-28h] char *v15; // [sp+8h] [bp-24h] unsigned __int8 v16; // [sp+Ch] [bp-20h] BYREF char v17; // [sp+Dh] [bp-1Fh] BYREF char *v18; // [sp+14h] [bp-18h] int v19; // [sp+18h] [bp-14h] BYREF int v20; // [sp+1Ch] [bp-10h] char *v21; // [sp+20h] [bp-Ch] v1 = this; if ( *((_DWORD *)this + 76) ) { v13 = 0; v14 = 0; v15 = nullptr; if ( *((_DWORD *)this + 73) ) { if ( *((_DWORD *)this + 75) ) { v2 = (GameManager *)GameManager::sharedState(this); if ( *((_DWORD *)v2 + 102) ) { if ( *(_DWORD *)(*(_DWORD *)(GameManager::sharedState(v2) + 408) + 2084) ) { CCTextInputNode::getString((CCTextInputNode *)&v16, *((_DWORD *)v1 + 75)); if ( IDNameInput::textIsPureInt(&v16) ) { v6 = (v16 & 1) != 0 ? v18 : &v17; v7 = (GameManager *)atoi(v6); v8 = (unsigned int)v7; if ( (int)v7 > 0 ) { v9 = GameManager::sharedState(v7); LevelSettingsObject::getIDName( (LevelSettingsObject *)&v19, *(_DWORD *)(*(_DWORD *)(v9 + 408) + 2084), v8, *((_DWORD *)v1 + 73)); LOWORD(v13) = 0; std::string::reserve(&v13, 0); v10 = v19; v11 = v20; v12 = v21; v19 = 0; v20 = 0; v21 = nullptr; v13 = v10; v14 = v11; v15 = v12; std::string::~string((int)&v19); } } std::string::~string((int)&v16); } } } } if ( (v13 & 1) != 0 ) v3 = v15; else v3 = (char *)&v13 + 1; (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)v1 + 76) + 464))(*((_DWORD *)v1 + 76), v3); cocos2d::CCLabelBMFont::limitLabelWidth( *((cocos2d::CCLabelBMFont **)v1 + 76), *((float *)v1 + 86) * 160.0, *((float *)v1 + 86) * 0.8, *((float *)v1 + 86) * 0.5); v4 = *((_DWORD *)v1 + 77); if ( v4 ) { if ( (v13 & 1) != 0 ) v5 = v15; else v5 = (char *)&v13 + 1; (*(void (__fastcall **)(int, char *, int))(*(_DWORD *)v4 + 464))(v4, v5, (unsigned __int8)v13 << 31); cocos2d::CCLabelBMFont::limitLabelWidth( *((cocos2d::CCLabelBMFont **)v1 + 77), *((float *)v1 + 86) * 160.0, *((float *)v1 + 86) * 0.8, *((float *)v1 + 86) * 0.5); } return (GameManager *)std::string::~string((int)&v13); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source