// // GJBaseGameLayer::updateCameraOffsetX from 0x10014ee70 to 0x10014ef67 (247 bytes) // // 3 xrefs: // > PlayLayer::playEndAnimationToPos @ 0x1000b6050 // > PlayLayer::playPlatformerEndAnimationToPos @ 0x1000b659d // > CameraTriggerGameObject::triggerObject @ 0x1001de09a // // 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 // void __fastcall GJBaseGameLayer::updateCameraOffsetX( GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7) { std::unordered_map *p_m_tweenActions; // rdi int v10[3]; // [rsp+4h] [rbp-5Ch] BYREF __int64 v11; // [rsp+10h] [rbp-50h] int v12; // [rsp+18h] [rbp-48h] float v13; // [rsp+1Ch] [rbp-44h] __int16 v14; // [rsp+20h] [rbp-40h] int v15; // [rsp+24h] [rbp-3Ch] int v16; // [rsp+28h] [rbp-38h] int v17; // [rsp+2Ch] [rbp-34h] BYREF float x; // [rsp+30h] [rbp-30h] float v19; // [rsp+34h] [rbp-2Ch] float v20; // [rsp+38h] [rbp-28h] float v21; // [rsp+3Ch] [rbp-24h] a1->m_gameState.m_unkPoint1.x = a2; if ( a3 <= 0.0 ) { v10[0] = 15; sub_1000569A0(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, v10); a1->m_gameState.m_cameraOffset.x = a1->m_gameState.m_unkPoint1.x; } else { x = a1->m_gameState.m_cameraOffset.x; v17 = 15; v10[0] = 15; p_m_tweenActions = &a1->m_gameState.m_tweenActions; v19 = a5; v20 = a3; v21 = a2; sub_1000569A0(p_m_tweenActions, v10); v11 = 0; v14 = 0; *(float *)v10 = x; *(float *)&v10[1] = v21; *(float *)&v10[2] = v20; v12 = a4; v13 = v19; v15 = a6; v16 = a7; sub_100165AA0(p_m_tweenActions, &v17, &v17, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source