// // cocos2d::CCFadeOutDownTiles::testFunc from 0x1007b6be0 to 0x1007b6c58 (120 bytes) // // 1 xrefs: // > @ 0x100993a60 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // float __fastcall cocos2d::CCFadeOutDownTiles::testFunc( cocos2d::CCFadeOutDownTiles *a1, const cocos2d::CCSize *a2, float a3) { __m128 v3; // xmm0 float height; // xmm1_4 float result; // xmm0_4 unsigned __int64 v6; // [rsp+Ch] [rbp-24h] BYREF double v7; // [rsp+14h] [rbp-1Ch] BYREF float v8; // [rsp+1Ch] [rbp-14h] v8 = a3; sub_10028CBE0((float *)&v6, *((float *)&a1->m_bFirstTick + 1), *(float *)&a1[1].__vftable); v3 = (__m128)0x3F800000u; v3.f32[0] = 1.0 - v8; sub_10028CD40(&v7, &v6, v3); height = a2->height; result = 1.0; if ( height != 0.0 ) return powf(*((float *)&v7 + 1) / height, 6.0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source