// // GJBaseGameLayer::updateZoom from 0x10014eab0 to 0x10014ec32 (386 bytes) // // 2 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1000f220c // > EffectGameObject::triggerObject @ 0x1001ba068 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GJBaseGameLayer::updateZoom(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7) { __m128 v7; // xmm4 PlayerObject *m_player1; // r14 GameObjectType ActiveMode; // eax float v12; // [rsp+0h] [rbp-70h] int v13[3]; // [rsp+10h] [rbp-60h] BYREF __int64 v14; // [rsp+1Ch] [rbp-54h] int v15; // [rsp+24h] [rbp-4Ch] float v16; // [rsp+28h] [rbp-48h] __int16 v17; // [rsp+2Ch] [rbp-44h] int v18; // [rsp+30h] [rbp-40h] int v19; // [rsp+34h] [rbp-3Ch] int v20; // [rsp+38h] [rbp-38h] BYREF float m_cameraZoom; // [rsp+3Ch] [rbp-34h] float v22; // [rsp+40h] [rbp-30h] float v23; // [rsp+44h] [rbp-2Ch] v7 = _mm_cmpgt_ss(*(__m128 *)&a2, (__m128)0LL); v12 = fmaxf( fminf(COERCE_FLOAT(_mm_andnot_ps(v7, (__m128)0x3F800000u).u32[0] | LODWORD(a2) & v7.i32[0]), 3.0), 0.40000001); a1->m_gameState.m_targetCameraZoom = v12; v23 = a3; if ( a3 <= 0.0 ) { v13[0] = 14; sub_1000569A0(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, v13); a1->m_gameState.m_cameraZoom = v12; a1->m_gameState.m_unkUint1 = v23; if ( a1->m_skipArtReload ) return; } else { m_cameraZoom = a1->m_gameState.m_cameraZoom; v20 = 14; v13[0] = 14; v22 = a5; sub_1000569A0(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, v13); v14 = 0; v17 = 0; *(float *)v13 = m_cameraZoom; *(float *)&v13[1] = v12; *(float *)&v13[2] = v23; v15 = a4; v16 = v22; v18 = a6; v19 = a7; sub_100165AA0(&a1->m_gameState.m_tweenActions, &v20, &v20, v13); a1->m_gameState.m_unkUint1 = v23; if ( a1->m_skipArtReload ) return; } if ( a1->m_gameState.m_unkBool7 ) { m_player1 = a1->m_player1; ActiveMode = PlayerObject::getActiveMode(m_player1); GJBaseGameLayer::updateDualGround( a1, m_player1, ActiveMode, _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss((__m128)0LL, (__m128)LODWORD(v23))) & 1, v23); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source