// // sub_1002485C0 from 0x1002485c0 to 0x10024878c (460 bytes) // // 1 xrefs: // > RetryLevelLayer::customSetup @ 0x100248028 // // 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 11:01:27 +0000 // __int64 __fastcall sub_1002485C0(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x0 __int64 ProgressBar; // x20 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 CString; // x0 __int64 v10; // x22 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 __int64 v16; // x21 float32x2_t *v17; // x19 double v18; // d0 float32x2_t v20; // [xsp+8h] [xbp-38h] BYREF float32x2_t v21; // [xsp+10h] [xbp-30h] BYREF __int64 v22; // [xsp+18h] [xbp-28h] BYREF v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2, &v22); v4 = GameManager::sharedState(v3); ProgressBar = GameToolbox::createProgressBar(*(unsigned int *)(*(_QWORD *)(v4 + 544) + 14640LL), 65280, 1.0); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 576) + 464LL))( *(_QWORD *)(a1 + 576), ProgressBar, 3); sub_1000262BC((float *)&v21, *(float *)&v22 * 0.5, (float)((float)(*((float *)&v22 + 1) * 0.5) + 25.0) + -15.0); v6 = (*(__int64 (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)ProgressBar + 184LL))(ProgressBar, &v21); v7 = GameManager::sharedState(v6); v8 = sub_1003065B0("%i%%", *(_DWORD *)(*(_QWORD *)(v7 + 544) + 14640LL)); CString = cocos2d::CCString::getCString(v8); v10 = cocos2d::CCLabelBMFont::create_1(CString, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 576) + 464LL))(*(_QWORD *)(a1 + 576), v10, 4); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)ProgressBar + 192LL))(ProgressBar); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 184LL))(v10, v11); v12 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, 0.5); v13 = GameManager::sharedState(v12); v14 = sub_1003065B0("Attempt %i", *(_DWORD *)(*(_QWORD *)(v13 + 544) + 12212LL)); v15 = cocos2d::CCString::getCString(v14); v16 = cocos2d::CCLabelBMFont::create_1(v15, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 576) + 464LL))(*(_QWORD *)(a1 + 576), v16, 4); v17 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)ProgressBar + 192LL))(ProgressBar); sub_1000262BC((float *)&v20, 0.0, 23.0); *(float32x2_t *)&v18 = sub_100026318(v17, &v20, &v21); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v16 + 184LL))(v16, &v21, v18); return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source