// // EditLevelLayer::setIDPopupClosed from 0x1400d9580 to 0x1400d9603 (131 bytes) // // 2 xrefs: // > @ 0x140551768 // > @ 0x1406c8874 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EditLevelLayer::setIDPopupClosed(EditLevelLayer *a1, SetIDPopup *a2, int a3) { int v3; // edx void (__fastcall **v5)(__int64, const char *); // rbx cocos2d::CCString *v6; // rax const char *CString; // rax v3 = 0; if ( a3 >= 0 ) v3 = a3; if ( v3 > 999 ) v3 = 999; *(_DWORD *)(*(_QWORD *)&a1->m_nTag + 872LL) = v3; v5 = *(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)&a1->m_uIndexInArray + 360LL); v6 = cocos2d::CCString::createWithFormat("%i", v3); CString = cocos2d::CCString::getCString(v6); (*v5)(*(_QWORD *)&a1->m_uIndexInArray + 360LL, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)&a1->m_uIndexInArray, 24.0, 0.55000001, 0.0); }