// // sub_100065528 from 0x100065528 to 0x1000659d8 (1200 bytes) // // 2 xrefs: // > PlayLayer::levelComplete @ 0x10014287c // > PlayLayer::levelComplete @ 0x10014288c // // 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:57:56 +0000 // __int64 __fastcall sub_100065528(__int64 a1, char a2, char a3) { __int64 v6; // x20 __int64 result; // x0 __int64 v8; // x22 __int64 v9; // x21 __int64 v10; // x0 unsigned int v11; // s0 int8x8_t v12; // d2 float v13; // s0 float32x2_t *v14; // x0 double v15; // d0 float v16; // s0 float v17; // s0 __int64 v18; // x21 __int16 v19; // w8 __int64 v20; // x0 __int64 v21; // x20 __int16 v22; // w8 __int64 v23; // x0 __int64 v24; // x20 __int16 v25; // w8 __int64 v26; // x0 __int128 v27; // [xsp+10h] [xbp-30h] BYREF if ( *(_BYTE *)(a1 + 2420) == 1 ) PlayerObject::fadeOutStreak2(a1, 0.2); PlayerObject::stopDashing(a1); PlayerObject::deactivateParticle(a1); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2168)); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2176)); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2184)); cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 2200)); if ( *(_QWORD *)(a1 + 3000) ) { cocos2d::CCNode::stopAllActions(); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 3000) + 344LL))(*(_QWORD *)(a1 + 3000), 0); } PlayerObject::toggleGhostEffect(a1, 0); sub_1002C495C(a1); if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1) ) { v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1); if ( (a3 & 1) != 0 ) goto LABEL_7; LABEL_10: v8 = cocos2d::CCFadeTo::create(0, 0.1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, 4); result = cocos2d::CCNode::runAction(a1, v8); if ( (a2 & 1) != 0 ) return result; goto LABEL_11; } v6 = *(_QWORD *)(a1 + 3024); if ( (a3 & 1) == 0 ) goto LABEL_10; LABEL_7: result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 912LL))(a1, 0); if ( (a2 & 1) == 0 ) { LABEL_11: v9 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1568LL))(v9, 2); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v9, 99); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1584LL))(v9, 1); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 184LL))(v9, v10); *(float *)&v11 = (float)*(unsigned __int8 *)(a1 + 2604) / 255.0; v12.i16[0] = *(_WORD *)(a1 + 2602); v12.i8[2] = *(_BYTE *)(a1 + 2604); v12.i32[1] = (unsigned __int32)v12.i32[0] >> 8; *(float32x2_t *)&v27 = vdiv_f32( vcvt_f32_u32((uint32x2_t)vand_s8(v12, (int8x8_t)0xFF000000FFLL)), (float32x2_t)vdup_n_s32(0x437F0000u)); *((_QWORD *)&v27 + 1) = v11 | 0x3F80000000000000LL; (*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v9 + 1360LL))(v9, &v27); v27 = xmmword_10075CEB0; (*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v9 + 1392LL))(v9, &v27); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1280LL))(v9, 1); v27 = xmmword_10075C980; (*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v9 + 1376LL))(v9, &v27); v27 = xmmword_10075C980; (*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v9 + 1408LL))(v9, &v27); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1056LL))(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1064LL))(v9); v13 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 968LL))(v9); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v9 + 976LL))(v9, v13 * 3.0); v14 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 952LL))(v9); *(float32x2_t *)&v15 = sub_100026350(v14, (float32x2_t *)&v27, 1.2); (*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v9 + 960LL))(v9, &v27, v15); v16 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 1288LL))(v9); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v9 + 1296LL))(v9, v16 * 0.8); v17 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 1320LL))(v9); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v9 + 1328LL))(v9, v17 * 0.4); cocos2d::CCParticleSystem::resetSystem(v9); v18 = CCCircleWave::create_1(0, 20.0, 80.0, 0.72); v19 = *(_WORD *)(a1 + 2602); *(_BYTE *)(v18 + 342) = *(_BYTE *)(a1 + 2604); *(_WORD *)(v18 + 340) = v19; v20 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 184LL))(v18, v20); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v6 + 464LL))(v6, v18, 99); v21 = CCCircleWave::create_1(0, 30.0, 50.0, 0.84); v22 = *(_WORD *)(a1 + 2605); *(_BYTE *)(v21 + 342) = *(_BYTE *)(a1 + 2607); *(_WORD *)(v21 + 340) = v22; v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 184LL))(v21, v23); *(_DWORD *)(v21 + 360) = 1061997773; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v21, 1000); v24 = CCCircleWave::create_1(0, 30.0, 20.0, 0.96); v25 = *(_WORD *)(a1 + 2602); *(_BYTE *)(v24 + 342) = *(_BYTE *)(a1 + 2604); *(_WORD *)(v24 + 340) = v25; v26 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v24 + 184LL))(v24, v26); *(_DWORD *)(v24 + 360) = 1061997773; return (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v24, 1000); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source