// // sub_100114ED4 from 0x100114ed4 to 0x100114f94 (192 bytes) // // 3 xrefs: // > VideoOptionsLayer::init @ 0x100114810 // > sub_100114BDC @ 0x100114be4 // > sub_100114BE8 @ 0x100114bf0 // // 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:10 +0000 // __int64 __fastcall sub_100114ED4(__int64 a1, int a2) { int v4; // w0 unsigned int v5; // w8 __int64 v6; // x1 __int64 v7; // x0 __int64 v8; // x20 __int64 v9; // x0 __int64 v10; // x20 __int64 v11; // x0 __int64 CString; // x0 __n128 v13; // q0 __int64 v15; // [xsp+18h] [xbp-18h] BYREF v4 = sub_1002E757C(*(_QWORD *)(a1 + 712)); v5 = v4 - 1; if ( a2 >= 0 ) v5 = a2; if ( v4 <= a2 ) v6 = 0; else v6 = v5; *(_DWORD *)(a1 + 756) = v6; v7 = cocos2d::CCArray::stringAtIndex(*(_QWORD *)(a1 + 712), v6); v8 = cocos2d::CCString::intValue(v7); v9 = GameManager::sharedState(v8); GameManager::resolutionForKey(&v15, v9, v8); v10 = *(_QWORD *)(a1 + 688); v11 = sub_1003065B0("%ix%i", (int)*(float *)&v15, (int)*((float *)&v15 + 1)); CString = cocos2d::CCString::getCString(v11); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 928LL))(v10, CString); v13 = cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 688), 100.0, 0.75, 0.0); return sub_100115074(a1, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source