// // IDNameInput::refreshLabel from 0xce4d08 to 0xce4f64 (604 bytes) // // 10 xrefs: // > SetGroupIDLayer::updateGroupIDLabel @ 0xabb758 // > SetupTriggerPopup::updateInputNode @ 0xb20584 // > FindObjectPopup::onBuildWindowContent @ 0xcbd4c0 // > IDNameInput::initCore @ 0xce5958 // > IDNameInput::setType @ 0xce5da8 // > IDNameInput::idNameBrowserClosed @ 0xce5e00 // > IDNameInput::idNameBrowserClosed @ 0xce5e2c // > IDNameInput::textChanged @ 0xcef6e8 // > IDNameInput::textInputClosed @ 0xcef9d0 // > @ 0xc0b38 // // 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:38 +0000 // __int64 __fastcall IDNameInput::refreshLabel(IDNameInput *this) { GameManager *v2; // x0 int v3; // w1 GameManager *v4; // x0 char *v5; // x22 GameManager *v6; // x0 int v7; // w21 __int64 v8; // x0 char *v9; // x1 __int64 v10; // x0 char *v11; // x1 __int64 v13; // [xsp+40h] [xbp+40h] BYREF __int64 v14; // [xsp+48h] [xbp+48h] void *v15; // [xsp+50h] [xbp+50h] __int64 v16[2]; // [xsp+58h] [xbp+58h] BYREF char *v17; // [xsp+68h] [xbp+68h] __int64 v18[3]; // [xsp+70h] [xbp+70h] BYREF v2 = *((GameManager **)this + 49); if ( !v2 ) return _stack_chk_guard; v3 = *((_DWORD *)this + 94); v13 = 0; v14 = 0; v15 = nullptr; if ( v3 && *((_QWORD *)this + 48) ) { v4 = *(GameManager **)(GameManager::sharedState(v2) + 552); if ( v4 && *(_QWORD *)(*(_QWORD *)(GameManager::sharedState(v4) + 552) + 3272LL) ) { CCTextInputNode::getString(*((CCTextInputNode **)this + 48), v16); if ( (unsigned __int8)IDNameInput::textIsPureInt((__int64)v16) ) { if ( (v16[0] & 1) != 0 ) { v5 = v17; v6 = (GameManager *)atoi(v17); v7 = (int)v6; if ( (int)v6 <= 0 ) { operator delete(v5); goto LABEL_23; } } else { v6 = (GameManager *)atoi((const char *)v16 + 1); v7 = (int)v6; if ( (int)v6 <= 0 ) { v2 = *((GameManager **)this + 49); goto LABEL_11; } } v8 = GameManager::sharedState(v6); LevelSettingsObject::getIDName( *(LevelSettingsObject **)(*(_QWORD *)(v8 + 552) + 3272LL), v7, *((_DWORD *)this + 94), v18); LOWORD(v13) = 0; std::string::reserve(&v13, 0); v13 = v18[0]; v14 = v18[1]; v15 = (void *)v18[2]; } if ( (v16[0] & 1) == 0 ) { v2 = *((GameManager **)this + 49); goto LABEL_11; } operator delete(v17); LABEL_23: v2 = *((GameManager **)this + 49); goto LABEL_11; } v2 = *((GameManager **)this + 49); } LABEL_11: v9 = (char *)&v13 + 1; if ( (v13 & 1) != 0 ) v9 = (char *)v15; (*(void (__fastcall **)(GameManager *, char *))(*(_QWORD *)v2 + 928LL))(v2, v9); cocos2d::CCLabelBMFont::limitLabelWidth( *((cocos2d::CCLabelBMFont **)this + 49), *((float *)this + 115) * 160.0, *((float *)this + 115) * 0.8, *((float *)this + 115) * 0.5); v10 = *((_QWORD *)this + 50); if ( v10 ) { v11 = (char *)&v13 + 1; if ( (v13 & 1) != 0 ) v11 = (char *)v15; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v10 + 928LL))(v10, v11); cocos2d::CCLabelBMFont::limitLabelWidth( *((cocos2d::CCLabelBMFont **)this + 50), *((float *)this + 115) * 160.0, *((float *)this + 115) * 0.8, *((float *)this + 115) * 0.5); } if ( (v13 & 1) != 0 ) operator delete(v15); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source