// // EditLevelLayer::setIDPopupClosed from 0x100112570 to 0x1001125ec (124 bytes) // // 2 xrefs: // > sub_1001125EC @ 0x1001125f0 // > @ 0x1008d0138 // // 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 10:59:09 +0000 // double __fastcall EditLevelLayer::setIDPopupClosed(__int64 a1, __int64 a2, int a3) { int v4; // w8 __int64 v5; // x20 __int64 v6; // x0 __int64 CString; // x0 double result; // d0 v4 = a3 & ~(a3 >> 31); if ( v4 >= 999 ) v4 = 999; *(_DWORD *)(*(_QWORD *)(a1 + 472) + 916LL) = v4; v5 = *(_QWORD *)(a1 + 488); v6 = sub_1003065B0("%i", v4); CString = cocos2d::CCString::getCString(v6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString); *(_QWORD *)&result = cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 488), 24.0, 0.55, 0.0).n128_u64[0]; return result; }