// // GJBaseGameLayer::updateStaticCameraPosToGroup from 0x100203c0c to 0x100203de4 (472 bytes) // // 1 xrefs: // > CameraTriggerGameObject::triggerObject @ 0x100392cd8 // // 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::updateStaticCameraPosToGroup( GJBaseGameLayer *a1, int a2, bool a3, bool a4, bool a5, float a6, float a7, int a8, float a9, bool a10, float a11) { _BOOL4 v12; // w19 _BOOL4 v16; // w20 _BOOL4 v17; // w21 _BOOL4 v18; // w23 GameObject *MainObject; // x0 float v22; // s11 cocos2d::CCPoint *p_m_unkPoint15; // x26 float v24; // s13 cocos2d::CCPoint *p_m_unkPoint22; // x27 float v26; // s14 char v27; // w8 char v28; // w19 _BOOL4 v29; // w8 __int64 v30; // x28 int v31; // w25 float v32; // s2 float v33; // s3 _BOOL4 v34; // [xsp+10h] [xbp-C0h] cocos2d::CCPoint *p_m_unkPoint13; // [xsp+18h] [xbp-B8h] cocos2d::CCPoint *p_m_unkPoint12; // [xsp+20h] [xbp-B0h] __int64 v38; // [xsp+30h] [xbp-A0h] BYREF __int64 v39; // [xsp+38h] [xbp-98h] BYREF cocos2d::CCPoint v40; // 0:s0.4,4:s1.4 v12 = a10; v16 = a5; v17 = a4; v18 = a3; MainObject = GJBaseGameLayer::tryGetMainObject(a1, a2); if ( MainObject ) { ((void (__fastcall *)(__int64 *__return_ptr))MainObject->getRealPosition)(&v39); v22 = fmaxf(a6, 1.0); p_m_unkPoint15 = &a1->m_gameState.m_unkPoint15; v34 = v12; v24 = (float)v12; p_m_unkPoint22 = &a1->m_gameState.m_unkPoint22; p_m_unkPoint12 = &a1->m_gameState.m_unkPoint12; p_m_unkPoint13 = &a1->m_gameState.m_unkPoint13; v26 = (float)a2; v27 = 1; do { v28 = v27; if ( (v27 & 1) != 0 ) v29 = v18; else v29 = v17; if ( v29 ) { if ( (v28 & 1) != 0 ) v30 = 0; else v30 = 4; *(float *)((char *)&p_m_unkPoint15->x + v30) = (float)v16; *(float *)((char *)&p_m_unkPoint22->x + v30) = v24; *(float *)((char *)&a1->m_gameState.m_unkPoint23.x + v30) = a11; *(float *)((char *)&a1->m_gameState.m_unkPoint16.x + v30) = v26; *(float *)((char *)&a1->m_gameState.m_unkPoint14.x + v30) = v22; if ( (v28 & 1) != 0 ) v31 = 21; else v31 = 22; LODWORD(v38) = v31; sub_10001B104(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, (int *)&v38); if ( *(float *)((char *)&p_m_unkPoint15->x + v30) != 0.0 || *(float *)((char *)&p_m_unkPoint22->x + v30) != 0.0 ) { if ( a7 <= 0.0 ) { *(float *)((char *)&p_m_unkPoint12->x + v30) = 1.0; *(float *)((char *)&p_m_unkPoint13->x + v30) = 1.0; } else { *(float *)((char *)&p_m_unkPoint12->x + v30) = 0.0; *(float *)((char *)&p_m_unkPoint13->x + v30) = 0.0; GJGameState::tweenValue(&a1->m_gameState, 0.0, 1.0, v31, a7, a8, a9, -1, -1); } } } v27 = 0; } while ( (v28 & 1) != 0 ); sub_1000229B8(&v38, &v39); v40.x = a7; v40.y = a9; GJBaseGameLayer::updateStaticCameraPos(a1, v40, (bool)&v38, v18, v17, v32, v16 || v34, v33); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source