// // GauntletSelectLayer::playUnlockAnimation from 0x100255bf4 to 0x100255f10 (796 bytes) // // 1 xrefs: // > GauntletSelectLayer::rewardedVideoFinished @ 0x100255bbc // // 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:33 +0000 // void __fastcall GauntletSelectLayer::playUnlockAnimation(__int64 a1) { __n128 v2; // q0 __int64 v3; // x0 __int64 v4; // x20 _QWORD *v5; // x0 __int64 v6; // x21 __int64 v7; // x0 __int64 v8; // x21 float v9; // s0 float v10; // s0 __int64 v11; // x22 __int64 v12; // x0 __n128 v13; // q0 float v14; // s0 int8x8_t v15; // d1 float32x2_t v16; // d9 float v17; // s0 int8x8_t v18; // d1 float *v19; // x20 char v20; // w0 __int64 v21; // x1 __int64 v22; // x2 __int64 v23; // x3 __int64 v24; // x4 __int64 v25; // x5 __int64 v26; // x6 __int64 v27; // x7 __int64 v28; // x0 float *v29; // x20 char v30; // w0 __int64 v31; // x1 __int64 v32; // x2 __int64 v33; // x3 __int64 v34; // x4 __int64 v35; // x5 __int64 v36; // x6 __int64 v37; // x7 __int64 v38; // x0 float32x2_t v39; // [xsp+10h] [xbp-90h] BYREF float v40; // [xsp+18h] [xbp-88h] int v41; // [xsp+1Ch] [xbp-84h] __int64 v42; // [xsp+20h] [xbp-80h] BYREF void *v43[2]; // [xsp+28h] [xbp-78h] BYREF char v44; // [xsp+3Fh] [xbp-61h] __int64 v45; // [xsp+40h] [xbp-60h] BYREF void *__p[2]; // [xsp+48h] [xbp-58h] BYREF char v47; // [xsp+5Fh] [xbp-41h] v2 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 496), *(unsigned int *)(a1 + 508)); v4 = v3; GauntletNode::showUnlockAnimation(v2); v5 = (_QWORD *)FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v5, 1); v6 = FMODAudioEngine::sharedEngine(); sub_100009900(__p, "unlockGauntlet.ogg"); FMODAudioEngine::playEffect(v6, (__int64)__p, 0.0, 0.0, 0.5); if ( v47 < 0 ) operator delete(__p[0]); v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v7, &v45); sub_100009900( v43, "84a1.05a1.25a0.16a50a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0.360784a0a1a0a1a1a0a0a1a0a0a0a0a0a1a0a0.8a0a0a0a" "110a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0"); v8 = GameToolbox::particleFromString((__int64)v43, 0, 0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 1208LL))(v8, 10.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 1224LL))(v8, 5.0); v9 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 968LL))(v8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 976LL))(v8, v9 * 0.7); v10 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 920LL))(v8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 928LL))(v8, v10 * 0.7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1584LL))(v8, 1); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v8, 11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 2.0); cocos2d::CCParticleSystem::resetSystem(v8); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 512LL))(v4); v12 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4); cocos2d::CCNode::convertToWorldSpace(&v42, v11, v12); cocos2d::CCNode::convertToNodeSpace(&v39, a1, &v42, v13); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v8 + 184LL))(v8, &v39); v14 = (float)*(unsigned __int8 *)(v4 + 338) / 255.0; v15.i16[0] = *(_WORD *)(v4 + 336); v15.i8[2] = *(_BYTE *)(v4 + 338); v15.i32[1] = (unsigned __int32)v15.i32[0] >> 8; v16 = (float32x2_t)vdup_n_s32(0x437F0000u); v39 = vdiv_f32(vcvt_f32_u32((uint32x2_t)vand_s8(v15, (int8x8_t)0xFF000000FFLL)), v16); v40 = v14; v41 = 1065353216; (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v8 + 1360LL))(v8, &v39); v17 = (float)*(unsigned __int8 *)(v4 + 338) / 255.0; v18.i16[0] = *(_WORD *)(v4 + 336); v18.i8[2] = *(_BYTE *)(v4 + 338); v18.i32[1] = (unsigned __int32)v18.i32[0] >> 8; v39 = vdiv_f32(vcvt_f32_u32((uint32x2_t)vand_s8(v18, (int8x8_t)0xFF000000FFLL)), v16); v40 = v17; v41 = 1065353216; (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v8 + 1392LL))(v8, &v39); v19 = cocos2d::CCDelayTime::create(0.25); v20 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)GauntletSelectLayer::unlockAnimationStep2, 0); v28 = sub_10021D420((__int64)v19, v21, v22, v23, v24, v25, v26, v27, v20); cocos2d::CCNode::runAction(a1, v28); v29 = cocos2d::CCDelayTime::create(1.65); v30 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)GauntletSelectLayer::unlockAnimationFinished, 0); v38 = sub_10021D420((__int64)v29, v31, v32, v33, v34, v35, v36, v37, v30); cocos2d::CCNode::runAction(a1, v38); if ( v44 < 0 ) operator delete(v43[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source